ObjectDB Database Search
151-200 of 200 resultsApache Tomee 1.5.2: Failed to use JTA (TransactionManager is not found) 1 .5.2 with transaction-type="JTA". I don't have any configurations in Tomee (objectdb.jar is in ... application failed: C:\Users\Mircea\Documents\NetBeansProjects\natural7\target\natural7- 1 .0-SNAPSHOT ... (Assembler. java :836) at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler. java :546 | |
Is persistence version 2.1 supported?.createEntityManagerFactory(Persistence. java :54) but reverting to version 1 .0 makes the error go away ... .sax.SAXParseException; lineNumber: 10; columnNumber: 135; cvc-elt. 1 : Cannot find the declaration ... .createSAXParseException(ErrorHandlerWrapper. java :203) at com.sun.org.apache.xerces.internal.util | |
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 ... " J9VMThread:0x00007F00C402FA00, j9thread_t:0x00007F00C40079E0, java /lang/Thread:0x00007EFFFE170C48 | |
Query 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 ... (this.logEntryId)"); query.declareParameters(" java .util.List typeIndexes, java .util.List ... query.execute(param1, param2); This takes 1 second to execute using objectdb1.x, but the same takes | |
Reading 1.x odb files in ObjectDB 2.x without upgrading 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 ... binitbhaskar Binit Bhaskar Old ObjectDB 1 .x databases cannot be opened directly by ObjectDB 2.x | |
javax.transaction-api-1.3.jar and javax.persistence-api.2.2.jar Hi, I notice that objectdb zip file has: javax.transaction-api- 1 .3.jar However that library has moved to jakarta.transaction-api and is now on version 2.0. 1 Questions: a) Do I need this library at all? b) If I do need it, do I use jakarta.transaction-api 1 .3 or 2.0. 1 ? Similarly java | |
License Key on macOS Sequoia 15.6.1 Regarding the OEM license I've another issue: I've updated my macbook to the latest version of macos Sequioa 15.6. 1 (24G90). Unfortunately since then the mac-id behavior drives me crazy ... that use older versions of ObjectDB. It will not help if the main MAC address as reported by Java | |
Will ObjectDB support JPA 2.1 CriteriaDelete? Code like this: CriteriaBuilder cb = getEntityManager().getCriteriaBuilder(); CriteriaDelete criteriaDelete = cb.createCriteriaDelete(entityClass); Throws: java .lang.UnsupportedOperationException at com.objectdb.jpa.criteria.CriteriaBuilderImpl.createCriteriaDelete(CriteriaBuilderImpl. java :1508 | |
[ObjectDB 2.4.1] Unexpected exception (Error 990) (Error 990) Generated by Java HotSpot(TM) Client VM 1 .6.0_29 (on Windows 7 6. 1 ... .runners.model.FrameworkMethod$ 1 .runReflectiveCall(FrameworkMethod. java :44) at org.junit.internal.runners ... .ParentRunner$3.run(ParentRunner. java :193) at org.junit.runners.ParentRunner$ 1 .schedule(ParentRunner. java | |
Regression bug in using version 2.4.5 with GlassFish 3.1.2. (PersistenceUnitLoader. java :120) at org.glassfish.persistence.jpa.JPADeployer$ 1 .visitPUD(JPADeployer. java :224 ... .execute(DeployCommand. java :389) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ 1 .execute ... Can't deploy objectDB ver 2.4.5 or later using GlassFish 3. 1 .2, NetBeans 7.2. 1 Win 7 & 8. ObjectDB | |
[ObjectDB 2.5.1_05] Unexpected exception (Error 990) I have this error in log. The query can't return result. Thanks for help. LOG: [ObjectDB 2.5. 1 _05] Unexpected exception (Error 990) Generated by Java HotSpot(TM) Server VM 1 .7.0_55 (on Windows Server 2008 R2 6. 1 ). Please report this error on http://www.objectdb.com/database/issue/new com.objectdb | |
each 1-2 days objects on some objectdb level lock/block each other each 1 -2 days we have the situation that our system changes to a completely underperforming mode ... % and around 200 threads hgzwicker Hans-Georg Zwicker According to the subject of this thread it happens every 1 -2 ... ; java .lang.Thread.State: BLOCKED (on object monitor) at com.objectdb | |
[ObjectDB 2.8.1] Unexpected exception (Error 990).persist(EMImpl. java :415) at javax.persistence.EntityManager$persist$ 1 .call(Unknown Source) at org ... [ObjectDB 2.8. 1 ] Unexpected exception (Error 990) Generated by OpenJDK 64-Bit Server VM 1 .8.0_212 ... .objectdb.o.InternalException: java .lang.NullPointerException: null java .lang.NullPointerException at com | |
ArrayIndexOutOfBoundsException: -1 stacktrace: java .lang.ArrayIndexOutOfBoundsException: - 1 at com.objectdb.o.HTB.t(HTB. java :448) at com ... :945) at com.objectdb.o.OBM.bH(OBM. java :818) at com.objectdb.o.OBM.flush(OBM. java :739) ... 1 more Caused by: java .lang.ArrayIndexOutOfBoundsException: - 1 at com.objectdb.o.HTB.t(HTB. java :448) at com | |
jakarta.persistence.TableGenerator annotation. Example 1 : @Entity public class Employee { ... @TableGenerator( name = "empGen", table ... ", allocationSize = 1 ) @Id @GeneratedValue(strategy = TABLE, generator = "empGen") int id; ... } Example 2 ... ; ... } See Also: GeneratedValue Since: Jakarta Persistence (JPA) 1 .0 The Auto Generated Values article | |
[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 ... (InternalException. java :236) at com.objectdb.o.STA.K(STA. java :348) at com.objectdb.o.ENT.y(ENT. java :493 | |
jakarta.persistence.Column field. If no Column annotation is explicitly specified, the default values apply. Example 1 : @Column ... of type numeric or decimal . Since: Jakarta Persistence (JPA) 1 .0 Public Instance Methods ... ) 1 .0 String comment () (Optional) A comment to be applied to the column. This is only used if table | |
jakarta.persistence.EntityManagerFactory terminates, the application should close the entity manager factory. If necessary, a java .lang.ref ... 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 | |
jakarta.persistence.criteria.ParameterExpression: the Java type of the tuple element. Since: Jakarta Persistence (JPA) 1 .0 String getName () Return ... Selection Parameters: name - alias Returns: selection item. Since: Jakarta Persistence (JPA) 1 .0 ... Persistence (JPA) 1 .0 Expression cast ( Class type ) Cast this expression to the specified type | |
jakarta.persistence.OneToMany field or property of the entity that is the owner of the relationship. When the collection is a java .util.Map , the cascade element and the orphanRemoval element apply to the map value. Example 1 ... table for Order public Set getOrders() { return orders; } Since: Jakarta Persistence (JPA) 1 .0 Public | |
JPQL Subqueries (JPA 1.0) The JPQL ( Java Persistence Query Language) supports defining subqueries, which are nested queries that are embedded in other queries. Subqueries are currently not supported by ObjectDB, and as a workaround, you can use a sequence of two or more queries, where the results of one query serves as a parameter in the next queries. support Support | |
JPQL Update & Delete (JPA 1.0) JPQL ( Java Persistence Query Language) supports updating and deleting database objects by queries. Currently ObjectDB supports only JPQL SELECT (retrieval) queries. Delete queries are supported for JDOQL (JDO Query Language). support Support spring-data-jpa uses delete queries to implement | |
JPA Attributes Annotations to perform optimistic locking checks. Enum mapping Configure how Java enumerated types are persisted and used ... and calendar types to specific SQL temporal formats (modern java .time types are mapped automatically): Specifies the database SQL type for a persistent field or property of type java .util.Date or java .util | |
JPA Criteria Query Date/Time Extraction (such as java .time.LocalDate , and java .sql.Date ), including YEAR , MONTH , DAY , DAY_OF_WEEK , and DAY_OF_YEAR . Defines the component types of Time values (such as java .time.LocalTime , and java .sql.Time ), including HOUR , MINUTE , and SECOND . Defines component types applicable | |
jakarta.persistence.Temporal should use the date/time types defined in java .time . Since: Jakarta Persistence (JPA) 1 .0 The JPA ... () The type used in mapping java .util.Date or java .util.Calendar . Since: Jakarta Persistence (JPA) 1 ... of type java .util.Date and java .util.Calendar . It may only be specified for fields or properties | |
jakarta.persistence.JoinTable Persistence (JPA) 1 .0 Public Instance Methods String catalog () (Optional) The catalog of the table. Defaults to the default catalog. Since: Jakarta Persistence (JPA) 1 .0 CheckConstraint[] check ... . 1 Index[] indexes () (Optional) Indexes for the table. These are only used if table generation is in | |
jakarta.persistence.JoinColumn CollectionTable ForeignKey Since: Jakarta Persistence (JPA) 1 .0 Public Instance Methods CheckConstraint[] check ... for the column. Since: Jakarta Persistence (JPA) 1 .0 String comment () (Optional) A comment to be applied ... strategy is selected by the persistence provider. Since: Jakarta Persistence (JPA) 2. 1 boolean | |
jakarta.persistence.MapKeyColumn to the generated SQL to create a column of the inferred type. Since: Jakarta Persistence (JPA) 1 .0 boolean ... the persistence provider. Since: Jakarta Persistence (JPA) 1 .0 int length () (Optional) The column length ... types. Since: Jakarta Persistence (JPA) 1 .0 String name () (Optional) The name of the map key column | |
jakarta.persistence.MapKeyJoinColumn and the default values apply. Example 1 : @Entity public class Company { @Id int id; ... @OneToMany ... to SQL generated by the provider for the column. Since: Jakarta Persistence (JPA) 1 .0 ForeignKey ... is selected by the persistence provider. Since: Jakarta Persistence (JPA) 2. 1 boolean insertable | |
jakarta.persistence.criteria.CriteriaBuilder.In , 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 ... ) 1 .0 Expression cast ( Class type ) Cast this expression to the specified type, returning a new | |
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 | |
jakarta.persistence.ManyToMany notation is the name of the respective embedded field or property. Example 1 : // In Customer class ... ) 1 .0 Public Instance Methods CascadeType[] cascade () (Optional) The operations that must be cascaded to the target of the association. When the target collection is a java .util.Map , the cascade | |
jakarta.persistence.criteria.Path (JPA) 1 .0 Expression as ( Class type ) Perform a typecast upon the expression, returning a new ... ) Since: Jakarta Persistence (JPA) 1 .0 Expression cast ( Class type ) Cast this expression ... to the referenced attribute. Since: Jakarta Persistence (JPA) 1 .0 Expression get ( PluralAttribute | |
jakarta.persistence.SecondaryTable, and have the same names and types as the referenced primary key columns of the primary table. Example 1 : Single ... (JPA) 1 .0 Public Instance Methods String catalog () (Optional) The catalog of the table. Defaults to the default catalog. Since: Jakarta Persistence (JPA) 1 .0 CheckConstraint[] check () (Optional | |
jakarta.persistence.Convert may be applied to: a basic attribute, or a collection attribute of any type other than java .util.Map , in ... collection attribute, that is, a collection attribute of type java .util.Map , in which case ... to prefix the name of the attribute of the key or value type that is converted. Example 1 : Convert | |
jakarta.persistence.criteria.CriteriaBuilder.Case selection. Since: Jakarta Persistence (JPA) 1 .0 Class getJavaType () Return the Java type ... 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.Id to which the Id annotation is applied should have one of the following types: any Java primitive type; any primitive wrapper type; String ; java .util.UUID ; java .util.Date ; java .sql.Date ; java .math.BigDecimal ; java .math.BigInteger . The mapped column for the primary key of the entity is assumed | |
jakarta.persistence.MapKeyTemporal of type java .util.Date and java .util.Calendar . It may only be specified for map keys of these types. The MapKeyTemporal annotation can be applied to an element collection or relationship of type java .util ... the date/time types defined in java .time . Since: Jakarta Persistence (JPA) 2.0 Public Instance Methods | |
jakarta.persistence.Embeddable must: be a non- abstract , non- final top-level class or static inner class, or a Java record type ... . The Transient annotation or the Java transient keyword must be used to explicitly declare any field or property of an embeddable class which is not persistent. Example 1 : @Embeddable public class | |
jakarta.persistence.criteria.Predicate the predicate. Since: Jakarta Persistence (JPA) 1 .0 Class getJavaType () Return the Java type of the tuple ... Persistence (JPA) 1 .0 Expression as ( Class type ) Perform a typecast upon the expression, returning ... . See Also: .cast(Class) Since: Jakarta Persistence (JPA) 1 .0 Expression cast ( Class type ) Cast | |
jakarta.persistence.metamodel.Attribute.Member . Since: Jakarta Persistence (JPA) 1 .0 Class getJavaType () Return the Java type of the represented attribute. Returns: Java type. Since: Jakarta Persistence (JPA) 1 .0 String getName () Return ... an attribute of a Java type. Since: Jakarta Persistence (JPA) 2.0 Public Instance Methods ManagedType | |
jakarta.persistence.CollectionTable is used. Since: Jakarta Persistence (JPA) 1 .0 ForeignKey foreignKey () (Optional) Used to specify or ... provider. Since: Jakarta Persistence (JPA) 2. 1 Index[] indexes () (Optional) Indexes for the table. These are only used if table generation is in effect. Since: Jakarta Persistence (JPA) 2. 1 JoinColumn | |
jakarta.persistence.NamedStoredProcedureQuery StoredProcedureParameter Since: Jakarta Persistence (JPA) 2. 1 Public Instance Methods QueryHint[] hints () Query properties and hints. (May include vendor-specific query hints.) Since: Jakarta Persistence (JPA) 1 .0 ... procedure query objects. Since: Jakarta Persistence (JPA) 1 .0 StoredProcedureParameter[] parameters | |
jakarta.persistence.OneToOne property. Example 1 : One-to-one association that maps a foreign key column // On Customer class: @OneToOne ... assignedTo; ... } Since: Jakarta Persistence (JPA) 1 .0 Public Instance Methods CascadeType[] cascade ... no operations are cascaded. Since: Jakarta Persistence (JPA) 1 .0 FetchType fetch () (Optional | |
What are the system requirements for using ObjectDB? ObjectDB requires Java 8 or later. As a pure Java application, ObjectDB should be able to run on any platform that supports the Java Standard Edition. Either the Java Development Kit (JDK) or the Java Runtime Environment (JRE) can be used. A version of ObjectDB for .NET is currently under development. | |
Defining a JPA Entity Class class is a POJO (Plain Old Java Object), an ordinary Java class that is marked (annotated) to indicate ... class is an ordinary Java class. The only JPA-specific addition is the @Entity annotation ... to the NotSerializableException that Java throws when you try to serialize a non-serializable object. However, all JPA | |
JPA Metamodel API about managed classes, persistent fields, and properties, similar to how Java reflection provides this capability for general Java types. The Metamodel interface The main interface of the JPA Metamodel ... is a thin wrapper for Class and provides only two methods: // Get the underlying Java representation of the type | |
jakarta.persistence.criteria.CriteriaBuilder.Coalesce selection. Since: Jakarta Persistence (JPA) 1 .0 Class getJavaType () Return the Java type ... 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 | |
Step 2: Entity Class and Persistence Unit , enter src/main/ java as Folder Name and click Finish . Open the [New Java Class] dialog box, e.g. by ... the database was created in the project (under Java Resources: src/main/ java guest). Use copy ... java .io.Serializable; import java .sql.Date; import javax.persistence.Entity; import javax.persistence | |
Step 2: Define a JPA Entity Class the [New Java Class] dialog box, e.g. by right clicking the project node (in the [Projects] window) and selecting New Java Class ... Enter Guest as the class name - use exactly that case sensitive class name ... code: package guest; import java .io.Serializable; import java .sql.Date; import javax.persistence.Entity |