ObjectDB Database Search
1-50 of 73 resultsSELECT clause (JPQL / Criteria API) with the containing entities. Therefore, embedded objects that are retrieved directly by a result path expression ... results: SELECT c.name, c.capital.name FROM Country AS c The result list of this query contains Object[] elements, one for each result row. Each array contains two elements: the first is the country name | |
Storing JPA Entities of other persistable types can be stored in the database only as embedded objects in containing ... is thrown if the database already contains another entity of the same type with the same primary key ... their containing entities. Therefore, if Address is an embeddable class , the Employee entity is automatically | |
JPA Entity Fields; // not persistent because of @Transient } The preceding entity class contains only transient (non ... superclasses. When an entity is stored in the database, each persistent field must contain either null or ... class Person { @Embedded Address address; } Inverse fields Inverse (or mappedBy ) fields contain | |
jakarta.persistence.EntityManager - { // do work in a persistence context ... }); In the Jakarta EE environment, a container -managed EntityManager may be obtained by dependency injection, using PersistenceContext . // inject the container ... : IllegalStateException - if the entity manager is container -managed. Since: Jakarta Persistence (JPA) 1.0 boolean | |
Database Transaction Replayer by setting the path attribute in the configuration . The recording directory contains two types ... , which has the same transaction ID in its name, contains the database operations that were recorded | |
Database Management Settings The configuration element specifies back-end (database engine) settings for the server and for embedded mode. The default configuration file contains the following element: The element The element specifies the database file and page size settings: The initial attribute specifies the initial size | |
Apache License, Version 2.0, January 2004 copy of the attribution notices contained within such NOTICE file, excluding those notices | |
Server Configuration The configuration element specifies settings for running an ObjectDB Server . The server is also affected by other elements in the configuration file, such as the and elements. The default configuration file contains the following element: The element The element specifies how clients can connect | |
JPA Named Queries Annotations. A container annotation that groups multiple @NamedQuery definitions on a single class. Supplies parameters | |
jakarta.persistence.EntityManagerFactory("orderMgt"); Alternatively, in the Jakarta EE environment, a container -managed EntityManagerFactory may be obtained by dependency injection, using PersistenceUnit . // inject the container -managed factory ... EntityManager s. Alternatively, in the Jakarta EE environment, a container -managed EntityManager | |
UTF Error) WARNING: javax.ejb.EJBException: Error reading UTF string at com.sun.ejb. containers .EJBContainerTransactionManager.processSystemException(EJBContainerTransactionManager.java:723) at com.sun.ejb. containers ... . containers .EJBContainerTransactionManager.postInvokeTx(EJBContainerTransactionManager.java:482 | |
Duplicate Entity class names causes Exception in Query(EJBSecurityManager.java:1124) at com.sun.ejb. containers .BaseContainer.invokeBeanMethod(BaseContainer.java:5367) at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:619) at com.sun.ejb. containers ... .proceed(EjbInvocation.java:571) at com.sun.ejb. containers .interceptors.SystemInterceptorProxy | |
jakarta.persistence.PersistenceUnitUtil is to be determined entity - entity instance containing the attribute Returns: false if entity's state ... - attribute whose load state is to be determined entity - entity instance containing the attribute Returns | |
jakarta.persistence.JoinColumn mapping, the referenced column is in the table of the entity containing the collection. Default ... : "" Since: Jakarta Persistence (JPA) 3.2 String table (Optional) The name of the table that contains | |
jakarta.persistence.ManyToMany. The ManyToMany annotation may be used within an embeddable class contained within an entity class ... containing the embeddable class is the owner of the relationship, the non-owning side must use | |
jakarta.persistence.Convert is applied to the specified attribute of the embeddable instances contained in the collection a map ... instances contained in the map, or an entity class which extends a mapped superclass , to enable or | |
query on calendar class. Container .processEvent( Container .java:2229) at java.awt.Component.dispatchEventImpl(Component.java:4861) at java.awt. Container .dispatchEventImpl( Container .java:2287) at java.awt.Component.dispatchEvent(Component.java:4687) at java.awt.LightweightDispatcher.retargetMouseEvent( Container .java:4832 | |
explorer NullPointerException. Container .processEvent( Container .java:2039) at java.awt.Component.dispatchEventImpl(Component.java:4653) at java.awt. Container .dispatchEventImpl( Container .java:2097) at java.awt.Component.dispatchEvent(Component.java:4481) at java.awt.LightweightDispatcher.retargetMouseEvent( Container .java:4575) at java.awt | |
[ODB1] Chapter 6 - Persistent Objects part of a containing object. Objects stored explicitly by makePersistent( ... ) are never embedded ... (an embedded object can only be retrieved using a reference from its containing object). 6.2  ... ); String s1 = oid.toString(); // s1 contains a temporary negative number pm.currentTransaction | |
jakarta.persistence.PersistenceUtil whose load state is to be determined entity - entity containing the attribute Returns: false if entity's | |
jakarta.persistence.JoinTable a relationship with an embeddable class on the owning side of the relationship, the containing entity | |
jakarta.persistence.InheritanceType class in the hierarchy has its own table, but that table does not contain columns mapped | |
jakarta.persistence.MapKeyColumn String table (Optional) The name of the table that contains the column. Defaults: If the map key | |
jakarta.persistence.MapKeyJoinColumn that contains the foreign key column. If the join is for a map key for an element collection, the foreign key | |
Trouble viewing db in Explorer..Component.processEvent(Unknown Source) at java.awt. Container .processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt. Container .dispatchEventImpl(Unknown Source ... .LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt. Container .dispatchEventImpl(Unknown | |
How to Use a SF with extended Persistence Context?.Final] at org.jboss.as.jpa. container .ExtendedEntityManager.internalAssociateWithJtaTx(ExtendedEntityManager.java:129) [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final] at org.jboss.as.jpa. container ... .Final] at org.jboss.as.jpa. container .AbstractEntityManager.createQuery(AbstractEntityManager.java:112 | |
Intermittent: "Attempt to reuse an existing primary key value" when persisting a new instance.JavaEETransactionManagerSimplified.commit(JavaEETransactionManagerSimplified.java:857) at com.sun.ejb. containers .BaseContainer.completeNewTx(BaseContainer.java:5115) at com.sun.ejb. containers .BaseContainer.postInvokeTx(BaseContainer.java:4880) at com.sun.ejb. containers .BaseContainer.postInvoke(BaseContainer.java:2039) at com.sun | |
Cascading makeTransient cache should work independently on the DB as if it contained transient objects. However those instances of B contain the field __odbTracker of type com.objectdb.o.EMT, which then holds a reference ... makeTransient(A, true) with a FetchPlan containing FetchGroup with category | |
jakarta.persistence.PersistenceConfiguration.transactionType() Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceConfiguration PersistenceUnitTransactionType transactionType() The transaction type . If PersistenceUnitTransactionType.JTA , a JTA data source must be provided via PersistenceConfiguration.jtaDataSource , or by the container | |
jakarta.persistence.PersistenceContext.properties Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceContext PersistenceProperty[] properties (Optional) Properties for the container or persistence provider. Vendor specific properties may be included in this set of properties. Properties that are not recognized by a vendor | |
jakarta.persistence.PersistenceUnitUtil.isLoaded(Object,String) of attribute whose load state is to be determined entity - entity instance containing the attribute | |
jakarta.persistence.PersistenceUnitUtil.isLoaded(E,Attribute) whose load state is to be determined entity - entity instance containing the attribute Returns: false | |
Step 5: Add a JSP Page, which contains a simple form for signing the guestbook, followed by a list of all the guests | |
JPA Web App Tutorial - Maven Project: mvn package jetty:run The current directory should be guestbook-web ( containing the pom | |
Report Generation with BIRT and JPA Started tutorial. The database file contains 1,000 Point entities, which represent points on the line y | |
Possible cause for "Enhancement of type ... is old and cannot be used".CreateException: Initialization failed for Singleton ReflectionHelper at com.sun.ejb. containers .AbstractSingletonContainer.createSingletonEJB(AbstractSingletonContainer.java:476) at com.sun.ejb. containers .AbstractSingletonContainer.access$000(AbstractSingletonContainer.java:74) at com.sun.ejb. containers | |
ClassCastException of same object type; return cop; } When the query is run, debugging shows that "list" contains ... ; if (!this.XCCompetitorCounts. contains (obj)) {   | |
CriteriaQuery .where() for multiple conditions"), surname)); List allPersons = query.getResultList(); The results will contain records where name ... it an AND condition instead so that it will only contain records with both name AND surname as specified? I | |
Double persist of Entity field with Cascade.ALL Netbeans project with the error case. It contains 1. App client ( Book_dberror_client ), 2. The enterprise application ( Book_dberror ) which contains the EJB module ( Book_dberror-ejb ) 3. A Java | |
Optimistic locking: prevent version increment on entity collection attribute with the containing entity. Check what the object contains in the debugger, and try to access the collection | |
Explorer in 2.3, but they may contain collections (explicit or derived) with a large number of elements. Again, most likely I'm ... your own static methods you have to run the Explorer with classpath that contains your classes | |
Missing Data on Retrieval (0, null values) I try to export all Objects in an Flatfile-Hiearchy (.csv). But only the first exported Table contains all necessary Data. Most of the others contains all Object-Rows', but most Values of the Columns are missing. With a em.clear() inside the Loop, all tables are exported | |
Missing (null) elements in eager loaded references I have the following problem: Setup: Two hierachical Entities (Element, DataElement), which contain an ElementCollection of Embeddables (Costs). The Embeddable from the ElementCollection ... this to a minimal self contained test case, as explained in the posting instructions , with no external | |
Jboss 6 persistence.xml startup error from within NetBeans - version 7.0 beta (or above) is required. A WAR file that contains the Java EE | |
mapping file is not being loaded itself is running in client-server mode using configuration contained in the default location (objectdb root | |
Replaying recorded requests....conf configuration file should be located: Usually it should be located in the directory that contains | |
ObjectDB 1.0 Manual basic database programming using ObjectDB. Subsequent chapters contain detailed instructions | |
Unexpected exception (Error 990) com.objectdb.o.InternalException object after garbage collecting of the containing entity object may cause this exception ... .Worker.run(Worker.java:54) The Log file: (It contains two error ... ) at objectdb.java.util.ArrayList.add(Unknown Source) at com.btc.ep.formalnotation.bl.impl. containers | |
ArrayIndexOutOfBoundsException on flush: rbccm.felix.framework.ApplicationException: Error flushing graph container at rbccm.felix.objectdb ... at this point is performing a delete query for all entity objects that the database contains : EntityManager em ... (); throw new ApplicationException("Error flushing graph container ", e); } finally { em.close(); } I've | |
new objects not available in mappedBy associations, but if the query has already been run and the field already contains a value - it will not be run again unless ... ? The argument to refresh is the object that contains the inverse field. This way you enforce reloading |