ObjectDB Database Search
51-100 of 200 resultsString Contains Query Result - Possible? Hi, I have a managed database for an Entity, "Program", containing a String field, "description ... one that is contained within the System Description. public static Program programByDescription(String desc) { for(Program p : allPrograms()) if(desc. contains (p.getDescription())) return p; return null | |
Memory error during commit, if @ElementCollection field contains many elements collection contains more than 10.000 elements. There are more than 100.000 TCSteps persisted in ... entity classes. Every TCStep will reference a new entity object that will contain the collection | |
Logging archive contains non-objectdb log files Hi, I'm dealing with problem, that objectdb's log archive folder contains several other log files which are not part of objectdb. We use single location for our application log files and also objectdb log files. When application crashes or retarts, we noticed that several of our log files reside | |
Query to find object from element of a contained collection I have an OrderData class, containing an OrderItemData collection, i would like to find OrderData elements by OrderData.items.itemId. I cant get a proper query with MEMBER OF or IN. Does anyone have an idea on how i could formulate that as Typed or CriteriaBuilder query? Thanks. @Entity | |
embed the .odb file in tomcat webapp containerembed the .odb file in tomcat webapp container | |
The project does not contain a persistence unitThe project does not contain a persistence unit | |
system exception occurred during an invocation on EJB GuestDao() 2014-09-01T19:09:01.324+0200|Avertissement: javax.ejb.EJBException at com.sun.ejb. containers ... .ejb. containers .EJBContainerTransactionManager.completeNewTx(EJBContainerTransactionManager.java:698) at com.sun.ejb. containers .EJBContainerTransactionManager.postInvokeTx | |
Glassfish 4 AbstractMethodError: com.objectdb.jpa.EMF.createEntityManager/persistence/EntityManager; at com.sun.ejb. containers .EJBContainerTransactionManager.checkExceptionClientTx(EJBContainerTransactionManager.java:665) at com.sun.ejb. containers .EJBContainerTransactionManager.postInvokeTx(EJBContainerTransactionManager.java:507) at com.sun.ejb. containers .BaseContainer | |
Eclipse Public License - v 1.0 copyright notices contained within the Program. Each Contributor must identify itself as the originator | |
JPA Queries, and is equivalent to a JPQL query string (i.e. to a String instance containing JPQL). An essential | |
Running JPA Queries. If the database contains multiple Country objects with the name 'Canada' (e.g. due to a bug | |
JPA Named Queries contains four elements - two of which are required and two are optional. The two required elements | |
Paths and Types in JPQL and Criteria API class must contain a persistent field (or property) with a matching name. The path expression | |
ORDER BY clause (JPQL / Criteria API) processing chain. If a query contains both an ORDER BY clause and a GROUP BY clause the SELECT clause | |
Entity Management Settings The configuration element specifies front end settings that are relevant on the client side and in embedded mode. The default configuration file contains the following element: The element The element specifies enhancement related settings: The agent attribute (whose value is "true" or "false | |
Database Management Settings The configuration element specifies back end (database engine) settings that are relevant on the server side and in embedded mode. The default configuration file contains the following element: The element The element specifies the database file and page size settings: The initial | |
Control and Setting This section contains miscellaneous JPA types. The PersistenceUtil and PersistenceUnitUtil interfaces provide general utility methods: The Cache interface and the CacheRetrieveMode and CacheStoreMode enum types serve in managing the EntityManagerFactory's shared (level 2) cache: Other enum types are provided for setting of various JPA operations: | |
Database Replication and Clustering;password=b" ); A composite URL contains two or more database URLs separated by '|' . Usually | |
JPA Criteria API Queries fills at runtime in a form that contains many optional fields - is expected to be cleaner when using | |
Posting Sample Code protected constructor, An entity class must be a top level class, The project does not contain | |
Core JPA Types This section contains the most essential JPA types. | |
InternalException when querying indexed field using a list that contains duplicates filter like this is used: ":ids. contains (originalId)" originalId is an indexed String field on the candidate class :ids is a list which contains a duplicate entry If the field is unindexed, or :ids does not contain duplicates, the exception is not thrown and the query produces the expected results | |
WeakRef Purge ObjectDb threads not stopping with Tomcat (in application container) Hi, We have threads that are not stopping with Tomcat requiring a hard stop of the container . Can you please help us resolve this issue? Thanks, Clinton / Fazle What is the impact of the issue ... , so it should be more friendly for Tomcat and similar containers . support Support | |
javax.persistence.EntityManager: IllegalStateException - if the entity manager is container -managed Since: JPA 1.0 boolean contains (Object  ... named query. The select list of the query must contain only a single item, which must be assignable ... Persistence query language statement. The select list of the query must contain only a single item | |
javax.persistence.PessimisticLockScope , element collections and relationships owned by the entity that are contained in join tables ... ) for the entity instance in the additional table(s). Entity relationships for which the locked entity contains ... contain the foreign key (such as relationships that are mapped to join tables or unidirectional | |
javax.persistence.criteria.Subquery object of the containing query Return: subquery join Since: JPA 2.0 Join correlate ( Join   ... : parentJoin - join object of the containing query Return: subquery join Since: JPA 2.0 ListJoin ... object of the enclosing query. Parameters: parentList - join object of the containing query Return | |
objectdb-2.6.9_06: Extended Persistence Context fails: 'Attempt to begin a new transaction when a transaction is active' transaction when a transaction is active at com.sun.ejb. containers .BaseContainer.preInvoke(BaseContainer.java:2004) at com.sun.ejb. containers .EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:210) at com.sun.ejb. containers .EJBLocalObjectInvocationHandlerDelegate.invoke | |
Getting Started with JPA and Eclipse distribution zip file. The distribution zip contains everything necessary (no external dependencies | |
Getting Started with JPA and NetBeans the ObjectDB distribution zip file. The distribution zip contains everything necessary (no external | |
Step 5: Add a JSP Page Guest Book Web Application Tutorial Name: The JSP generates the guestbook page output, which contains | |
Step 5: Add a JSP Page generates the guestbook page output, which contains a simple form for signing the guestbook, followed by | |
Step 5: Add a JSP Page Guest Book Web Application Tutorial Name: The JSP generates the guestbook page output, which contains | |
Step 5: Add a JSP Page Tutorial Name: The JSP generates the guestbook page output, which contains a simple form for signing | |
Step 5: Add a JSP Page, which contains a simple form for signing the guestbook, followed by a list of all the guests | |
Step 3: Define a Spring DAO Component the application to the Spring Framework. For instance, in this example the Spring container : Manages | |
Step 1: Create a Maven Web Project the project. The configuration of the new created project is contained in a pom.xml file that was created | |
Step 5: Add a JSP Page Tutorial Name: The JSP generates the guestbook page output, which contains a simple form for signing | |
Java EE Web Tutorial. If you need a web application that can run on a simple servlet container (such as Tomcat or Jetty | |
Step 3: Define a Spring DAO Component the application to the Spring Framework. For instance, in this example the Spring container : Manages | |
Step 1: Create a Maven Web Project of the new created project is contained in a pom.xml file that was created in the project main | |
Spring MVC JPA Tutorial - Maven Project jetty:run The current directory should be guestbook-spring ( containing the pom.xml file | |
JPA Web App Tutorial - Maven Project: mvn package jetty:run The current directory should be guestbook-web ( containing the pom | |
Getting Started with JPA - Maven Project The current directory should be points-console ( containing the pom.xml file). No need to download | |
Step 4: Create an ObjectDB Data Set this tutorial contains Point entity objects. We will use a simple JPQL query that retrieves points with x | |
Report Generation with BIRT and JPA Started tutorial. The database file contains 1,000 Point entity objects, which represent points | |
ObjectDB 1.0 Manual basic database programming using ObjectDB. Subsequent chapters contain detailed instructions | |
[ODB1] Chapter 5 - JDO Connections. Therefore, it is important to wrap JDO method calls in a try-catch block: try { // Code containing | |
JDO Miscellaneous Types This section contains miscellaneous JDO types: | |
javax.jdo.Query of white space. The variableDeclaration parameter is the name of the variable containing the results ... containing one or more query parameter declarations separated with commas. Each parameter named in ... containing one or more unbound variable declarations separated with semicolons. It follows the syntax | |
javax.jdo.JDOHelper: propsFile - the file containing the Properties Return: the PersistenceManagerFactory Since: JDO 2.0 ... - the file containing the Properties loader - the class loader to use to load ... . Parameters: stream - the stream containing the Properties Return: the PersistenceManagerFactory |