Internal Website 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

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

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

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

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

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

javax.persistence.EntityNotFoundException

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

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.PessimisticLockException

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

javax.persistence.OptimisticLockException

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

javax.persistence.NonUniqueResultException

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

javax.persistence.NoResultException

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

javax.persistence.PersistenceException

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

javax.persistence.TransactionRequiredException

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

javax.persistence.QueryTimeoutException

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

javax.persistence.FlushModeType

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

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.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

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

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

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

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

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

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.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

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

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

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

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.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

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

PersistenceManager.getFetchGroup(cls,name) - JDO Method

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

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.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 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

Transaction.begin() - JDO Method

JDO Method in javax.jdo.Transaction void begin () Begin a transaction. The type of transaction is determined by the setting of the Optimistic flag. Throws: JDOUserException - if transactions are managed by a container in the managed environment, or if the transaction is already active . See Also: setOptimistic getOptimistic Since: JDO 1.0

Transaction.rollback() - JDO Method

JDO Method in javax.jdo.Transaction void rollback () Roll back the current transaction. Throws: JDOUserException - if transactions are managed by a container in the managed environment, or if the transaction is not active . Since: JDO 1.0

Transaction.commit() - JDO Method

JDO Method in javax.jdo.Transaction void commit () Commit the current transaction. Throws: JDOUserException - if transactions are managed by a container in the managed environment, or if the transaction is not active . Since: JDO 1.0

Transaction.setNontransactionalWrite(nontransactionalWrite) - JDO Method

JDO Method in javax.jdo.Transaction void setNontransactionalWrite (   boolean nontransactionalWrite ) If true , allow persistent instances to be written without a transaction active . If an implementation does not support this option, a JDOUnsupportedOptionException is thrown

Transaction.getNontransactionalRead() - JDO Method

JDO Method in javax.jdo.Transaction boolean getNontransactionalRead () If true , allows persistent instances to be read without a transaction active . Return: the value of the nontransactionalRead property Since: JDO 1.0

Transaction.getNontransactionalWrite() - JDO Method

JDO Method in javax.jdo.Transaction boolean getNontransactionalWrite () If true , allows persistent instances to be written without a transaction active . Return: the value of the nontransactionalWrite property Since: JDO 1.0

Transaction.setNontransactionalRead(nontransactionalRead) - JDO Method

JDO Method in javax.jdo.Transaction void setNontransactionalRead (   boolean nontransactionalRead ) If true , allow persistent instances to be read without a transaction active . If an implementation does not support this option, a JDOUnsupportedOptionException is thrown. Parameters