ObjectDB Database Search

101-150 of 200 results

Error 363 - Failed to read value of inverse relationship

(TemporalType. TIMESTAMP ) private Date signUpDate = new Date(), signInDate; @Embedded @OneToOne private ... @GeneratedValue private Long id; @Temporal(TemporalType. TIMESTAMP ) private Date sendDate = new Date ... . TIMESTAMP ) //    private Date sendDate = new Date(); // //    private String

Database is locked when in use

am using the JDO not JPA, and can you also please tell if i dont want the timestamp ... . support Support Thanks. How should i get rid of Timestamp directory ? I am going to use ... want all the odb files to be placed in "backup" directory not backup/[ timestamp ] directory

@Column( name = "columnName") doesn't work

@GeneratedValue @Column(name = "KEY_ID") private long id; private Long timestamp ; @ManyToOne @Column ... , timestamp , KEY_DESCRIPTOR, DATA_ITEMS, codedDataBlock, level but them still not correctly mapped and stays like member defined in class id, timestamp , keyDescriptor, dataItems, codedDataBlock, level I

objectdb-2.6.9_02 (with "objectdb.temp.no-enhancement-crc-check") vs. generic classes with interfaces: detailed investigation

output for entity classes. - I have also used UNIX file timestamp checking to ensure enhancement from ... (and timestamp checking of enhanced .class files indicates that no "automatic" enhancement has taken place ... operations. I checked the timestamp of the enhanced entity classes, and they are time-stamped

Query filter comparing Dates

time only (e.g.  23:59:59 ). java.sql. Timestamp  - represents date and time (e.g.  2019 ... time) when retrieved from the database. Timestamp is different, since it represents a point in time ... ) , but the parameter to the query is sent as java.util.Date , which by default is considered as a Timestamp

ObjectDB is opening too many sockets

, and we are now facing following issue. Object DB server is creating too many sockets. Currently ... has currently in use. I guess it kind of work correctly as the sockets were not increasing ... general. You can limit the size of the connection pool (the default in ObjectDB is currently 50), by

combined index not used

the current date (in your case the date of the last Action). The endDate is created as soon as an Action ... :notNull])" eval="0.9675" variable="a" / = current -java.sql.Date)),(a.state=3)),(a.subType=3)),(a.type=0 ... ="[]" = current -java.sql.Date)),(a.state=3)),(a.subType=3)),(a.type=0)) v$1:bound(a.objectsInCharge

EntityManager.merge(entity) - JPA Method

JPA Method in javax.persistence.EntityManager T merge (   T entity ) Merge the state of the given entity into the current persistence context. Parameters: entity - entity instance Return: the managed instance that the state was merged to Throws: IllegalArgumentException

EntityManager.find(entityClass,primaryKey,lockMode) - JPA Method

been joined to the current transaction and a lock mode other than NONE is specified

EntityManager.find(entityClass,primaryKey,lockMode,properties) - JPA Method

which has not been joined to the current transaction and a lock mode other than NONE is specified

EntityManager.flush() - JPA Method

JPA Method in javax.persistence.EntityManager void flush () Synchronize the persistence context to the underlying database. Throws: TransactionRequiredException - if there is no transaction or if the entity manager has not been joined to the current transaction PersistenceException - if the flush fails Since: JPA 1.0

EntityManager.lock(entity,lockMode) - JPA Method

- if there is no transaction or if invoked on an entity manager which has not been joined to the current

EntityManager.lock(entity,lockMode,properties) - JPA Method

- if there is no transaction or if invoked on an entity manager which has not been joined to the current

EntityManager.refresh(entity,lockMode) - JPA Method

been joined to the current transaction and a lock mode other than NONE has been specified

EntityManager.refresh(entity,lockMode,properties) - JPA Method

been joined to the current transaction and a lock mode other than NONE has been specified

EntityManager.contains(entity) - JPA Method

JPA Method in javax.persistence.EntityManager boolean contains (   Object entity ) Check if the instance is a managed entity instance belonging to the current persistence context. Parameters: entity - entity instance Return: boolean indicating if entity is in persistence context

EntityManager.joinTransaction() - JPA Method

it with the current JTA transaction. Throws: TransactionRequiredException - if there is no transaction Since: JPA 1.0

EntityManagerFactory.createEntityManager(synchronizationType) - JPA Method

: synchronizationType - how and when the entity manager should be synchronized with the current JTA transaction

EntityManagerFactory.createEntityManager(synchronizationType,map) - JPA Method

should be synchronized with the current JTA transaction map - properties for entity manager Return

javax.persistence.EntityNotFoundException

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

EntityTransaction.commit() - JPA Method

JPA Method in javax.persistence.EntityTransaction void commit () Commit the current resource transaction, writing any unflushed changes to the database. Throws: IllegalStateException - if isActive() is false RollbackException - if the commit fails Since: JPA 1.0

EntityTransaction.rollback() - JPA Method

JPA Method in javax.persistence.EntityTransaction void rollback () Roll back the current resource transaction. Throws: IllegalStateException - if isActive() is false PersistenceException - if an unexpected error condition is encountered Since: JPA 1.0

EntityTransaction.setRollbackOnly() - JPA Method

JPA Method in javax.persistence.EntityTransaction void setRollbackOnly () Mark the current resource transaction so that the only possible outcome of the transaction is for the transaction to be rolled back. Throws: IllegalStateException - if isActive() is false Since: JPA 1.0

EntityTransaction.getRollbackOnly() - JPA Method

JPA Method in javax.persistence.EntityTransaction boolean getRollbackOnly () Determine whether the current resource transaction has been marked for rollback. Return: boolean indicating whether the transaction has been marked for rollback Throws: IllegalStateException - if isActive() is false Since: JPA 1.0

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

default "" (Optional) The name of the primary key column of the current table. Defaults to the same

javax.persistence.PrimaryKeyJoinColumn.name

JPA Annotation Attribute in javax.persistence.PrimaryKeyJoinColumn String name default "" (Optional) The name of the primary key column of the current table. Defaults to the same name as the primary key column of the primary table of the superclass ( JOINED mapping strategy); the same name as

javax.persistence.Query

LockModeType getLockMode () Get the current lock mode for the query. Returns null if a lock mode

Query.getLockMode() - JPA Method

JPA Method in javax.persistence.Query LockModeType getLockMode () Get the current lock mode for the query. Returns null if a lock mode has not been set on the query object. Return: lock mode Throws: IllegalStateException - if the query is found not to be a Java Persistence query language SELECT query or a Criteria API query Since: JPA 2.0

javax.persistence.QueryTimeoutException

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

javax.persistence.StoredProcedureQuery

Since: JPA 2.0 LockModeType getLockMode () Get the current lock mode for the query. Returns null

javax.persistence.SynchronizationType.SYNCHRONIZED

JPA Enum Constant in javax.persistence.SynchronizationType SYNCHRONIZED Persistence context is automatically synchronized with the current transaction Since: JPA 2.1

javax.persistence.SynchronizationType.UNSYNCHRONIZED

JPA Enum Constant in javax.persistence.SynchronizationType UNSYNCHRONIZED Persistence context must be explicitly joined to the current transaction Since: JPA 2.1

javax.persistence.TypedQuery

and hints Inherited from: Query Since: JPA 2.0 LockModeType getLockMode () Get the current lock mode

PersistenceCapable.jdoIsDeleted() - JDO Method

JDO Method in javax.jdo.spi.PersistenceCapable boolean jdoIsDeleted () Tests whether this object has been deleted. Instances that have been deleted in the current transaction return true. Transient instances return false. Return: true if this instance was deleted in the current transaction

StateInterrogation.isDirty(pc) - JDO Method

made persistent in the current transaction, or modified while detached return Boolean.TRUE . Instances ... instance has been modified in the current transaction, or while detached. See Also: StateManager.makeDirty

StateInterrogation.isNew(pc) - JDO Method

that have been made persistent in the current transaction return Boolean.TRUE . Instances known by the implementation to be non ... the current transaction. See Also: PersistenceManager.makePersistent (Object pc) PersistenceCapable() Since: JDO 2.0

StateInterrogation.isDeleted(pc) - JDO Method

JDO Method in javax.jdo.spi.StateInterrogation Boolean isDeleted (   Object pc ) Tests whether the parameter instance has been deleted. Instances that have been deleted in the current ... - the instance. Return: Boolean.TRUE if the parameter instance was deleted in the current transaction

StateManager.isDirty(pc) - JDO Method

made persistent in the current transaction return true . Transient nontransactional instances return false ... has been modified in the current transaction. See Also: PersistenceCapable(String fieldName) Since: JDO 1.0

StateManager.isNew(pc) - JDO Method

in the current transaction return true . Transient instances return false . Parameters: pc - the calling PersistenceCapable instance Return: true if this instance was made persistent in the current

StateManager.isDeleted(pc) - JDO Method

JDO Method in javax.jdo.spi.StateManager boolean isDeleted (   PersistenceCapable pc ) Tests whether this object has been deleted. Instances that have been deleted in the current ... PersistenceCapable instance Return: true if this instance was deleted in the current transaction. See Also: PersistenceManager.deletePersistent (Object pc) Since: JDO 1.0

StateManager.getTransactionalObjectId(pc) - JDO Method

JDO Method in javax.jdo.spi.StateManager Object getTransactionalObjectId (   PersistenceCapable pc ) Return the object representing the JDO identity of the calling instance. If the JDO identity is being changed in the current transaction, this method returns the current identity as

javax.jdo.FetchGroup

is a copy of the currently defined members and will not change based on subsequent changes

FetchGroup.getMembers() - JDO Method

JDO Method in javax.jdo.FetchGroup Set getMembers () Return an immutable Set of String containing the names of all members. The Set is a copy of the currently defined members and will not change based on subsequent changes to the membership in the FetchGroup. Return: an immutable Set containing the names of all members in the FetchGroup Since: JDO 2.2