ObjectDB Database Search

51-100 of 200 results

setting activation code in persistence.xml or env file or system properties

Wondering if it's possible to add the activation code either: - in persistence.xml - or in a .env file - or system properties dmoshal David Moshal These options are not supported. However, you can embed the configuration file with the activation code as a resource, e.g. by replacing the objectdb

locks on pure query activities

can show a repeating pattern of a specific activity that holds such locks more than expected (the stack traces

Heap Limit reached although the option 'objectdb.temp.page-file' is activated

Heap Limit reached although the option 'objectdb.temp.page-file' is activated

Deadlock on Schema Update during Multithreading activity

A possible deadlock was detected when new types are registered during multithreading activity against ObjectDB. Until this issue is fixed, the recommended workaround is to complete registration of all the persistable types before starting any multithreading activity against ObjectDB. A single

Activation & Object Model Enhancement

We'd like to buy and use OEM Licenses. However, our object model gets enhanced at runtime (using JEnhancer directly) and not at compile time so we can not "sign" our object model at compile time though we are unable (and don't want) to activate each oem instance so we'd need a solution

Generating new activation code gives 500 server error

Trying to generate a new activation code using our site license key gives a 500 error every time. Code generated using version 2.7.4_04 and openjdk 1.8.0_171. spiffy Jonathan Harley There was a problem, thank you for this report. Please try again now. support Support

Generating new activation code gives 500 server error

The link I got for activation doesn't work after I pasted onto the browser cause of the 500 error. Ieodaq Daniele Lotti Solved. Ieodaq Daniele Lotti

JQL-Update Queries fails with activated L2-Cache

JQL-Update Queries fails with activated L2-Cache

javax.persistence.EntityManager

(which will return false). If this method is called when the entity manager is joined to an active ... IllegalArgumentException - if the instance is not a managed entity and a transaction is active Since: JPA 2.0 ... if no transaction is active Return: boolean Since: JPA 2.1 boolean isOpen () Determine whether the entity manager

Explorer bug ? Objects seem to be missing from database in Class view, but are present as references

1st project)) INFO: RequestBean []: Created: com.greensoft.entity. Activity [null](TEST: the 1st activity ) INFO: RequestBean []: Persisted: com.greensoft.entity. Activity [14](TEST: the 1st activity ) INFO: RequestBean []: Created: com.greensoft.entity. Activity [null](TEST: the 2nd activity ) INFO

javax.persistence.EntityExistsException

.persist(Object) is called and the entity already exists. The current transaction, if one is active ... may be thrown at flush or commit time. The current transaction, if one is active and the persistence

EntityManager.joinTransaction() - JPA Method

JPA Method in javax.persistence.EntityManager void joinTransaction () Indicate to the entity manager that a JTA transaction is active and join the persistence context to it. This method should be called on a JTA application managed entity manager that was created outside the scope of the active

EntityManager.getLockMode(entity) - JPA Method

is not a managed entity and a transaction is active Since: JPA 2.0

EntityManager.isJoinedToTransaction() - JPA Method

JPA Method in javax.persistence.EntityManager boolean isJoinedToTransaction () Determine whether the entity manager is joined to the current transaction. Returns false if the entity manager is not joined to the current transaction or if no transaction is active Return: boolean Since: JPA 2.1

EntityManager.close() - JPA Method

). If this method is called when the entity manager is joined to an active transaction, the persistence context

javax.persistence.EntityNotFoundException

. The current transaction, if one is active and the persistence context has been joined

javax.persistence.FlushModeType

. If there is no transaction active or the persistence context is not joined to the current transaction

javax.persistence.LockTimeoutException

part of an API call, at, flush or at commit time. The current transaction, if one is active , will be not

javax.persistence.NoResultException

will not cause the current transaction, if one is active , to be marked for rollback

javax.persistence.NonUniqueResultException

from the query. This exception will not cause the current transaction, if one is active

javax.persistence.OptimisticLockException

time. The current transaction, if one is active , will be marked for rollback. See Also: EntityManager

javax.persistence.PersistenceException

, and QueryTimeoutException will cause the current transaction, if one is active and the persistence context

javax.persistence.PessimisticLockException

time. The current transaction, if one is active , will be marked for rollback. Since: JPA 2.0 Public

javax.persistence.QueryTimeoutException

out and only the statement is rolled back. The current transaction, if one is active , will be not

javax.persistence.TransactionRequiredException

when a transaction is required but is not active . Since: JPA 1.0 Public Constructors

javax.jdo.PersistenceManager

if a transaction is not active . If a datastore transaction is active , this method verifies ... if flush were called, but it is not required to do so. If an optimistic transaction is active ... ;pc) Delete the persistent instance from the data store. This method must be called in an active

javax.jdo.FetchPlan

JDO Interface FetchPlan Fetch groups are activated using methods on this interface. An instance ... Methods FetchPlan addGroup (String fetchGroupName) Add the fetch group to the set of active fetch groups. Return: the FetchPlan Since: JDO 2.0 FetchPlan clearGroups () Remove all active groups

javax.jdo.PersistenceManagerFactory

Methods void addFetchGroups (FetchGroup... groups) Add the FetchGroup s to the set of active fetch ... to see that all PersistenceManager instances obtained from this PersistenceManagerFactory have no active transactions. If any PersistenceManager instances have an active transaction, throw a JDOUserException

javax.jdo.Transaction

if the transaction is already active . See Also: setOptimistic getOptimistic Since: JDO 1.0 void commit ... a container in the managed environment, or if the transaction is not active . Since: JDO 1.0 String ... () If true , allows persistent instances to be read without a transaction active . Return: the value

PersistenceManagerFactory.close() - JDO Method

obtained from this PersistenceManagerFactory have no active transactions. If any PersistenceManager instances have an active transaction, throw a JDOUserException, with one nested JDOUserException for each PersistenceManager with an active Transaction. If there are no active transactions, then close

javax.jdo.FetchGroup

(fields or properties) to be fetched when the fetch group is active , and the recursion depth for each ... .getFetchGroup , it is unscoped. When a FetchGroup is added to the set of active FetchGroups ... is removed from the set of active FetchGroups via PersistenceManagerFactory.removeFetchGroups

FetchPlan.getGroups() - JDO Method

JDO Method in javax.jdo.FetchPlan Set getGroups () Return an immutable Set containing the names of all active fetch groups. The Set is a copy of the currently active groups and will not change based on subsequent changes to the groups. Return: an immutable Set containing the names of all currently active fetch groups Since: JDO 2.0

PersistenceManager.flush() - JDO Method

instances to the data store. It has no effect if a transaction is not active . If a datastore transaction is active , this method synchronizes the cache with the datastore and reports any exceptions. If an optimistic transaction is active , this method obtains a datastore connection, synchronizes the cache

PersistenceManager.checkConsistency() - JDO Method

the PersistenceManager cache with the datastore. This method has no effect if a transaction is not active . If a datastore transaction is active , this method verifies the consistency of instances in the cache ... to do so. If an optimistic transaction is active , this method obtains a datastore connection

FetchPlan.clearGroups() - JDO Method

JDO Method in javax.jdo.FetchPlan FetchPlan clearGroups () Remove all active groups leaving no active fetch group. Return: the FetchPlan Since: JDO 2.0

PersistenceManager.refreshAll() - JDO Method

JDO Method in javax.jdo.PersistenceManager void refreshAll () Refresh the state of all applicable instances from the data store. If called with an active transaction, all transactional instances will be refreshed. If called outside an active transaction, all nontransactional instances will be refreshed. See Also: refresh (Object pc) Since: JDO 1.0

PersistenceManager.getDataStoreConnection() - JDO Method

JDO Method in javax.jdo.PersistenceManager JDOConnection getDataStoreConnection () If this method is called while a datastore transaction is active , the object returned will be enlisted in the current transaction. If called in an optimistic transaction or outside an active transaction, the object

PersistenceManagerFactory.getFetchGroups() - JDO Method

JDO Method in javax.jdo.PersistenceManagerFactory Set getFetchGroups () Get a modifiable Set containing a mutable copy of all currently active (in scope) fetch groups. The methods addFetchGroups ... : a copy of all currently active fetch groups Throws: SecurityExceptionif the caller is not authorized for {@link JDOPermission} ("getMetadata") Since: JDO 2.2

Transaction.isActive() - JDO Method

JDO Method in javax.jdo.Transaction boolean isActive () Returns whether there is a transaction currently active . Return: true if the transaction is active . Since: JDO 1.0

FetchPlan.addGroup(fetchGroupName) - JDO Method

JDO Method in javax.jdo.FetchPlan FetchPlan addGroup (   String fetchGroupName ) Add the fetch group to the set of active fetch groups. Return: the FetchPlan Since: JDO 2.0

FetchPlan.removeGroup(fetchGroupName) - JDO Method

JDO Method in javax.jdo.FetchPlan FetchPlan removeGroup (   String fetchGroupName ) Remove the fetch group from the set active fetch groups. Return: the FetchPlan Since: JDO 2.0

FetchPlan.setGroup(fetchGroupName) - JDO Method

JDO Method in javax.jdo.FetchPlan FetchPlan setGroup (   String fetchGroupName ) Set the active fetch groups to the single named fetch group. Parameters: fetchGroupName - the single fetch group Return: the FetchPlan Since: JDO 2.0

PersistenceManager.newQuery(compiled) - JDO Method

JDO Method in javax.jdo.PersistenceManager Query newQuery (   Object compiled ) Create a new Query using elements from another Query . The other Query must have been created by the same JDO implementation. It might be active in a different PersistenceManager or

PersistenceManager.makePersistent(pc) - JDO Method

of an active transaction, or a JDOUserException is thrown. For a transient instance, it assigns an object

PersistenceManager.deletePersistent(pc) - JDO Method

JDO Method in javax.jdo.PersistenceManager void deletePersistent (   Object pc ) Delete the persistent instance from the data store. This method must be called in an active transaction. The data store object will be removed at commit. Unlike makePersistent , which makes the closure

PersistenceManager.detachCopy(pc) - JDO Method

JDO Method in javax.jdo.PersistenceManager T detachCopy (   T pc ) Detach the specified instance from the PersistenceManager . The flags for detachment (DETACH_LOAD_FIELDS and DETACH_UNLOAD_FIELDS) and the active fetch groups determine the scope of fetching for the graph

PersistenceManager.detachCopyAll(pcs) - JDO Method

JDO Method in javax.jdo.PersistenceManager Collection detachCopyAll (   Collection  pcs ) Detach the specified instances from the PersistenceManager . The flags for detachment (DETACH_LOAD_FIELDS and DETACH_UNLOAD_FIELDS) and the active fetch groups determine the scope of fetching

PersistenceManager.detachCopyAll(pcs) - JDO Method

JDO Method in javax.jdo.PersistenceManager T[] detachCopyAll (   T... pcs ) Detach the specified instances from the PersistenceManager . The flags for detachment (DETACH_LOAD_FIELDS and DETACH_UNLOAD_FIELDS) and the active fetch groups determine the scope of fetching for the graph

PersistenceManager.getFetchGroup(cls,name) - JDO Method

PersistenceManagerFactory , create it with no members. The FetchGroup immediately becomes active and in

PersistenceManagerFactory.addFetchGroups(groups) - JDO Method

JDO Method in javax.jdo.PersistenceManagerFactory void addFetchGroups (   FetchGroup... groups ) Add the FetchGroup s to the set of active fetch groups. FetchGroup s are made unmodifiable before being added. FetchGroup s that match existing FetchGroup s replace the corresponding