ObjectDB Database Search
151-200 of 200 resultsQuery becomes slower on moving from ObjectDB 1.x to ObjectDB 2.x, with object 1 .x, the same query was getting executed within an seconds and now the same is taking around 40 seconds in object db 2.x I have build the query using the follwoing Query query = persistanceManager ... object db 1 .x. You have mentioned that "You have to define an index and open the database in | |
Unable to convert 1.x odb file to 2.x Hi, my company is just about to switch from ObjectDB 1 .04.2487 (SE) to ObjectDB 2. So I ... well, but then on converting 1 of the DB files I got this error: java -jar converter.jar ../old.odb ../new.odb ObjectDB 1 .0 ... . Output of conversion: ObjectDB 1 .0 - 2.0 file conversion | |
Upgrade to 2.4.1_03 Right, that fix to 2.4. 1 _02 got us past the previous issue. Now I'm not sure ... is: [ObjectDB 2.4. 1 _03] javax.persistence.PersistenceException Failed to clear field property com ... .FrameworkMethod$ 1 .runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model | |
Reading 1.x odb files in ObjectDB 2.x without upgrading Hi, We have a problem in the backward compatibilty in our software as once we have migrated object db odb file from version 1 .x to 2.x, user is unable to open the odb files in the application which is having object db 1 .x installed. Is there any way to read odb files from 1 .x in object db 2.x | |
JVM crash when using IBM JDK 1.6.0 The FAQ states in the system requirements only that a JDK/JRE 1 .5 or 1 .6(prefered) is required. When I try to use the IBM JDK 1 .6.0 I get a GPF exception while creating the entity manager. Looks like a call to putInt on sun.misc.Unsafe object Does this mean there is a BUG in the IBM JDK or are not | |
jakarta.persistence.criteria.Path element. Since: Jakarta Persistence (JPA) 1 .0 Bindable getModel () Return the bindable object ... . Returns: parent. Since: Jakarta Persistence (JPA) 1 .0 Predicate in ( Object ... values ) Create ... (JPA) 1 .0 Expression as ( Class type ) Perform a typecast upon the expression, returning a new | |
jakarta.persistence.EntityExistsException. See Also: EntityManager.persist( Object ) Since: Jakarta Persistence (JPA) 1 .0 Public Constructors ... Jakarta Persistence (JPA) Class jakarta.persistence.EntityExistsException java.lang. Object ∟ java ... . Since: Jakarta Persistence (JPA) 1 .0 EntityExistsException ( String message ) Constructs a new | |
jakarta.persistence.Timeout Persistence (JPA) 1 .0 Additional JDK methods inherited from java.lang. Object java.lang. Object /clone ... Jakarta Persistence (JPA) Class jakarta.persistence.Timeout java.lang. Object ∟ jakarta.persistence ... a timeout in milliseconds. Since: Jakarta Persistence (JPA) 1 .0 Timeout ms ( int milliseconds ) Specify | |
jakarta.persistence.InheritanceType Jakarta Persistence (JPA) Enum jakarta.persistence.InheritanceType java.lang. Object ∟ java.lang ... Since: Jakarta Persistence (JPA) 1 .0 Enum Constants JOINED A table for each abstract or concrete entity class ... rows. A join is used to retrieve the state of such entities. Since: Jakarta Persistence (JPA) 1 .0 | |
jakarta.persistence.ConstraintMode Jakarta Persistence (JPA) Enum jakarta.persistence.ConstraintMode java.lang. Object ∟ java.lang ... Used to control the application of a constraint. Since: Jakarta Persistence (JPA) 2. 1 Enum Constants CONSTRAINT Apply the constraint. Since: Jakarta Persistence (JPA) 1 .0 NO_CONSTRAINT Do not apply | |
jakarta.persistence.DiscriminatorType Jakarta Persistence (JPA) Enum jakarta.persistence.DiscriminatorType java.lang. Object ∟ java.lang ... .discriminatorType Since: Jakarta Persistence (JPA) 1 .0 Enum Constants CHAR Single character as the discriminator type. Since: Jakarta Persistence (JPA) 1 .0 INTEGER Integer as the discriminator type | |
jakarta.persistence.metamodel.Bindable.BindableType.metamodel.Bindable.BindableType java.lang. Object ∟ java.lang.Enum ∟ jakarta.persistence.metamodel ... Persistence (JPA) 1 .0 Enum Constants ENTITY_TYPE Entity type. See Also: EntityType Since: Jakarta Persistence (JPA) 1 .0 PLURAL_ATTRIBUTE Multivalued attribute type, that is, a collection | |
jakarta.persistence.criteria.CriteriaBuilder.Trimspec.criteria.CriteriaBuilder.Trimspec java.lang. Object ∟ java.lang.Enum ∟ jakarta.persistence.criteria ... to specify how strings are trimmed. Since: Jakarta Persistence (JPA) 1 .0 Enum Constants BOTH Trim from both ends. Since: Jakarta Persistence (JPA) 1 .0 LEADING Trim from leading end. Since: Jakarta Persistence | |
jakarta.persistence.criteria.LocalTimeField Since: Jakarta Persistence (JPA) 1 .0 Public Instance Methods String toString () Overrides Object .java.lang. Object /toString() Since: Jakarta Persistence (JPA) 1 .0 Additional JDK methods inherited from java ... Jakarta Persistence (JPA) Class jakarta.persistence.criteria.LocalTimeField java.lang. Object | |
jakarta.persistence.TemporalType Jakarta Persistence (JPA) Enum jakarta.persistence.TemporalType java.lang. Object ∟ java.lang.Enum ... -written code should use the date/time types defined in java.time . Since: Jakarta Persistence (JPA) 1 ... java.sql.Date Since: Jakarta Persistence (JPA) 1 .0 TIME Map as java.sql.Time Since: Jakarta | |
jakarta.persistence.Persistence.PersistenceUtilImpl Persistence (JPA) 1 .0 boolean isLoaded ( Object entity ) Overrides PersistenceUtil.isLoaded Since: Jakarta Persistence (JPA) 1 .0 Additional JDK methods inherited from java.lang. Object java.lang ... .PersistenceUtilImpl java.lang. Object ∟ jakarta.persistence.Persistence.PersistenceUtilImpl | |
jakarta.persistence.RollbackException Jakarta Persistence (JPA) Class jakarta.persistence.RollbackException java.lang. Object ∟ java.lang ... () Since: Jakarta Persistence (JPA) 1 .0 Public Constructors RollbackException () Constructs a new RollbackException exception with null as its detail message. Since: Jakarta Persistence (JPA) 1 .0 | |
jakarta.persistence.TransactionRequiredException Jakarta Persistence (JPA) Class jakarta.persistence.TransactionRequiredException java.lang. Object ... . Since: Jakarta Persistence (JPA) 1 .0 Public Constructors TransactionRequiredException () Constructs a new ... ) 1 .0 TransactionRequiredException ( Exception cause ) Constructs a new TransactionRequiredException | |
jakarta.persistence.NonUniqueResultException Jakarta Persistence (JPA) Class jakarta.persistence.NonUniqueResultException java.lang. Object ... .getSingleResult() Since: Jakarta Persistence (JPA) 1 .0 Public Constructors NonUniqueResultException ... Persistence (JPA) 1 .0 NonUniqueResultException ( Exception cause ) Constructs a new | |
jakarta.persistence.PersistenceException Jakarta Persistence (JPA) Class jakarta.persistence.PersistenceException java.lang. Object ∟ java ... . Since: Jakarta Persistence (JPA) 1 .0 Public Constructors PersistenceException () Constructs a new PersistenceException exception with null as its detail message. Since: Jakarta Persistence (JPA) 1 .0 | |
jakarta.persistence.PersistenceUnitUtil is found not to be an entity. Since: Jakarta Persistence (JPA) 1 .0 Object getVersion ( Object entity ... : IllegalArgumentException - if the given object is not an instance of an entity class belonging to the persistence unit ... cannot be loaded from the database. Since: Jakarta Persistence (JPA) 3.2 Object getIdentifier ( Object | |
jakarta.persistence.FetchType Jakarta Persistence (JPA) Enum jakarta.persistence.FetchType java.lang. Object ∟ java.lang.Enum ... ManyToMany OneToMany ManyToOne OneToOne Since: Jakarta Persistence (JPA) 1 .0 Enum Constants EAGER Data must be eagerly fetched. Since: Jakarta Persistence (JPA) 1 .0 LAZY Data may be lazily fetched | |
jakarta.persistence.EnumType Jakarta Persistence (JPA) Enum jakarta.persistence.EnumType java.lang. Object ∟ java.lang.Enum ... EnumeratedValue Since: Jakarta Persistence (JPA) 1 .0 The JPA Persistable Types article explains ... () member. Since: Jakarta Persistence (JPA) 1 .0 STRING Persist enumerated type property or field as | |
jakarta.persistence.criteria.Predicate.BooleanOperator.criteria.Predicate.BooleanOperator java.lang. Object ∟ java.lang.Enum ∟ jakarta.persistence.criteria ... Persistence (JPA) 1 .0 Enum Constants AND Since: Jakarta Persistence (JPA) 1 .0 OR Since: Jakarta Persistence (JPA) 1 .0 Synthetic Public Static Methods: values(), valueOf(String) Additional JDK methods | |
jakarta.persistence.criteria.Nulls Jakarta Persistence (JPA) Enum jakarta.persistence.criteria.Nulls java.lang. Object ∟ java.lang ... ) 1 .0 LAST Null values occur at the end of the result set. Since: Jakarta Persistence (JPA) 1 .0 NONE Null precedence not specified. Since: Jakarta Persistence (JPA) 1 .0 Synthetic Public Static Methods | |
jakarta.persistence.ValidationMode Jakarta Persistence (JPA) Enum jakarta.persistence.ValidationMode java.lang. Object ∟ java.lang ... behavior. Since: Jakarta Persistence (JPA) 1 .0 CALLBACK The persistence provider must perform the lifecycle ... . Since: Jakarta Persistence (JPA) 1 .0 NONE The persistence provider must not perform lifecycle | |
jakarta.persistence.criteria.JoinType Jakarta Persistence (JPA) Enum jakarta.persistence.criteria.JoinType java.lang. Object ∟ java.lang ... (JPA) 1 .0 LEFT Left outer join. Since: Jakarta Persistence (JPA) 1 .0 RIGHT Right outer join. Since: Jakarta Persistence (JPA) 1 .0 Synthetic Public Static Methods: values(), valueOf(String) Additional JDK | |
jakarta.persistence.CacheStoreMode Jakarta Persistence (JPA) Enum jakarta.persistence.CacheStoreMode java.lang. Object ∟ java.lang ... CacheStoreMode . Enum Constants BYPASS Don't insert into cache. Since: Jakarta Persistence (JPA) 1 .0 ... ) 1 .0 USE Insert entity data into cache when read from database and insert/update entity data | |
jakarta.persistence.SynchronizationType Jakarta Persistence (JPA) Enum jakarta.persistence.SynchronizationType java.lang. Object ∟ java ... transaction by means of the EntityManager.joinTransaction method. Since: Jakarta Persistence (JPA) 2. 1 ... transaction Since: Jakarta Persistence (JPA) 1 .0 UNSYNCHRONIZED Persistence context must be explicitly | |
jakarta.persistence.PersistenceContextType Jakarta Persistence (JPA) Enum jakarta.persistence.PersistenceContextType java.lang. Object ∟ java ... . Since: Jakarta Persistence (JPA) 1 .0 Enum Constants EXTENDED Extended persistence context Since: Jakarta Persistence (JPA) 1 .0 TRANSACTION Transaction-scoped persistence context Since: Jakarta Persistence | |
jakarta.persistence.criteria.CriteriaBuilder.In: boolean operator for the predicate. Since: Jakarta Persistence (JPA) 1 .0 Predicate in ( Object ... , TupleElement Interface used to build in predicates. Since: Jakarta Persistence (JPA) 1 .0 Public Instance ... : name - alias Returns: selection item. Since: Jakarta Persistence (JPA) 1 .0 Expression as ( Class | |
jakarta.persistence.criteria.CriteriaBuilder.SimpleCase: the Java type of the tuple element. Since: Jakarta Persistence (JPA) 1 .0 Predicate in ( Object ... which they are specified. Since: Jakarta Persistence (JPA) 1 .0 Public Instance Methods Selection alias ... : selection item. Since: Jakarta Persistence (JPA) 1 .0 Expression as ( Class type ) Perform | |
JPA Lifecycle Events( Object o) {} @PostPersist void onPostPersist( Object o) {} @PostLoad void onPostLoad( Object o) {} @PreUpdate void onPreUpdate( Object o) {} @PostUpdate void onPostUpdate( Object o) {} @PreRemove void onPreRemove( Object o) {} @PostRemove void onPostRemove( Object o) {} } External callback methods | |
JPA Query Structure (JPQL / Criteria) operates on Java classes and objects . For example, a JPQL query can retrieve entities, unlike SQL, which returns only field values from database tables. This makes JPQL more object -oriented ... values). A Minimal JPQL Query The following query retrieves all Country objects from the database | |
jakarta.persistence.PersistenceUnitTransactionType Jakarta Persistence (JPA) Enum jakarta.persistence.PersistenceUnitTransactionType java.lang. Object ... Transaction management via JTA. Since: Jakarta Persistence (JPA) 1 .0 RESOURCE_LOCAL Resource-local transaction management. Since: Jakarta Persistence (JPA) 1 .0 Synthetic Public Static Methods: values | |
jakarta.persistence.AccessType Jakarta Persistence (JPA) Enum jakarta.persistence.AccessType java.lang. Object ∟ java.lang.Enum ... (JPA) 1 .0 PROPERTY Property-based access is used, that is, state is accessed via getter and setter methods. Since: Jakarta Persistence (JPA) 1 .0 Synthetic Public Static Methods: values(), valueOf | |
jakarta.persistence.CacheRetrieveMode Jakarta Persistence (JPA) Enum jakarta.persistence.CacheRetrieveMode java.lang. Object ∟ java.lang ... the database. Since: Jakarta Persistence (JPA) 1 .0 USE Read entity data from the cache: this is the default behavior. Since: Jakarta Persistence (JPA) 1 .0 Synthetic Public Static Methods: values | |
jakarta.persistence.SchemaValidationException Jakarta Persistence (JPA) Class jakarta.persistence.SchemaValidationException java.lang. Object ... Persistence (JPA) 1 .0 Public Instance Methods Exception[] getFailures () An array of problems ... a problem with one database object , in which case there is only one problem reported | |
jakarta.persistence.PessimisticLockScope Jakarta Persistence (JPA) Enum jakarta.persistence.PessimisticLockScope java.lang. Object ∟ java ... Persistence (JPA) 1 .0 NORMAL This value defines the default behavior for pessimistic locking ... (JPA) 1 .0 Synthetic Public Static Methods: values(), valueOf(String) Additional JDK methods inherited | |
jakarta.persistence.NoResultException Jakarta Persistence (JPA) Class jakarta.persistence.NoResultException java.lang. Object ∟ java.lang ... Persistence (JPA) 1 .0 Public Constructors NoResultException () Constructs a new NoResultException exception with null as its detail message. Since: Jakarta Persistence (JPA) 1 .0 NoResultException | |
jakarta.persistence.EntityManagerFactory Since: Jakarta Persistence (JPA) 1 .0 The JPA Connections and Transactions article explains how to use ... graph entityGraph - entity graph Since: Jakarta Persistence (JPA) 2. 1 void addNamedQuery ( String ... such that future query objects can be created from it using the EntityManager.createNamedQuery or | |
jakarta.persistence.criteria.CriteriaBuilder.Case Persistence (JPA) 1 .0 Predicate in ( Object ... values ) Create a predicate to test ... which they are specified. Since: Jakarta Persistence (JPA) 1 .0 Public Instance Methods Selection alias ( String ... : selection item. Since: Jakarta Persistence (JPA) 1 .0 Expression as ( Class type ) Perform a typecast | |
jakarta.persistence.criteria.Predicate Persistence (JPA) 1 .0 Predicate in ( Object ... values ) Create a predicate to test whether the expression ... Persistence (JPA) 1 .0 Expression as ( Class type ) Perform a typecast upon the expression, returning a new expression object . Unlike Expression.cast , this method does not cause type conversion | |
WHERE clause (JPQL / Criteria API) for retrieving a specific subset of objects from the database. How a WHERE clause works The following query ... over all Country objects in the database, using c as the range variable. Before passing these Country objects ... expression in the WHERE clause, also known as the predicate, determines which objects to accept | |
jakarta.persistence.criteria.ParameterExpression Returns: position of parameter. Since: Jakarta Persistence (JPA) 1 .0 Predicate in ( Object ... values ... Selection Parameters: name - alias Returns: selection item. Since: Jakarta Persistence (JPA) 1 .0 Expression as ( Class type ) Perform a typecast upon the expression, returning a new expression object | |
jakarta.persistence.criteria.CriteriaBuilder.Coalesce Persistence (JPA) 1 .0 Predicate in ( Object ... values ) Create a predicate to test ... otherwise. Since: Jakarta Persistence (JPA) 1 .0 Public Instance Methods Selection alias ( String ... : selection item. Since: Jakarta Persistence (JPA) 1 .0 Expression as ( Class type ) Perform a typecast | |
ArrayIndexOutOfBoundsException: -1 I've attached a test which fails with the error "ArrayIndexOutOfBoundsException: - 1 ". It runs 10 threads which create and persist objects . The objects are based on application objects so its not ... . I'm running with 64bit JVM 1 .6.0_30 on windows 7 The first thread to fail output the following | |
jakarta.persistence.criteria.CriteriaUpdate. A CriteriaUpdate object must have a single root. Since: Jakarta Persistence (JPA) 2. 1 Public Instance ... that is the target of the update. A CriteriaUpdate object has a single root, the entity ... . Since: Jakarta Persistence (JPA) 1 .0 Root from ( EntityType entity ) Create and add a query root | |
jakarta.persistence.criteria.Expression type of the tuple element. Since: Jakarta Persistence (JPA) 1 .0 Predicate in ( Object ... values ... Persistence (JPA) 1 .0 Expression as ( Class type ) Perform a typecast upon the expression, returning a new expression object . Unlike cast , this method does not cause type conversion: the runtime type is not | |
[ObjectDB 2.4.1] Unexpected exception (Error 990) on getObjectById get this: [ObjectDB 2.4. 1 ] Unexpected exception (Error 990) Generated by Java HotSpot(TM) Client VM 1 .6.0_29 (on Windows 7 6. 1 ). Please report this error on http://www.objectdb.com/database/issue/new com.objectdb.o ... just after deleting all the objects from the database. The following test program tries to reproduce |