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 | |
JPA Annotations for Java EE The following JPA annotations are in use to integrate JPA into a Java EE application and are managed by the Java EE container : | |
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 Schema Evolution ). From any object to any collection or array that can contain that object as en element. From any map | |
Chapter 2 - JPA Entity Classes JPA Entity classes are user defined classes whose instances can be stored in a database. To store data in an ObjectDB database using JPA you have to define entity classes that represent your application data object model. This chapter explains how to define and use entity classes. This chapter contains the following sections: | |
Eclipse Public License - v 1.0 copyright notices contained within the Program. Each Contributor must identify itself as the originator | |
Running JPA Queries. If the database contains multiple Country objects with the name 'Canada' (e.g. due to a bug | |
Shared (L2) Entity Cache = cache. contains (MyEntity.class, Long.valueOf(id)); Cached entity objects can be removed from the cache | |
Chapter 6 - Configuration The ObjectDB configuration file contains one root element with seven subelements: ... ... ... ... ... ... ... Each one of these seven configuration elements is explained in a separate section: This page explains how ObjectDB configuration works in general. The Configuration Path By default | |
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 | |
Posting Sample Code protected constructor, An entity class must be a top level class, The project does not contain | |
JPA Annotations JPA defines dozens of annotations that can be divided into the following groups: Annotations for JPA aware classes: Annotations for fields in JPA persistable classes: Annotations for additional JPA configuration: Annotations for JPA lifecycle event callbacks: Java EE container annotations: Many | |
Paths and Types in JPQL and Criteria API class must contain a persistent field (or property) with a matching name. The path expression | |
JPA Criteria API Queries fills at runtime in a form that contains many optional fields - is expected to be cleaner when using | |
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 | |
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 - Maven Project The current directory should be points-console ( containing the pom.xml file). No need to download | |
Step 3: Define a Spring DAO Component the application to the Spring Framework. For instance, in this example the Spring container : Manages | |
Spring MVC JPA Tutorial - Maven Project jetty:run The current directory should be guestbook-spring ( containing the pom.xml file | |
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 Tutorial Name: The JSP generates the guestbook page output, which contains a simple form for signing | |
Step 5: Add a JSP Page generates the guestbook page output, which contains a simple form for signing the guestbook, followed by | |
Getting Started with JPA and NetBeans the ObjectDB distribution zip file. The distribution zip contains everything necessary (no external | |
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 | |
javax.persistence.PessimisticLockScope.NORMAL entity contains the foreign key will also be locked, but not the state of the referenced entities ... does not contain the foreign key (such as relationships that are mapped to join tables or unidirectional one-to-many relationships for which the target entity contains the foreign key) will not be locked by default. Since: JPA 2.0 | |
javax.persistence.Persistence schema generation to occur. The Persistence class is available in a Java EE container environment as well; however, support for the Java SE bootstrapping APIs is not required in container environments ... ; these may also contain provider-specific properties. The value of these properties override any values | |
javax.persistence.Cache JPA Interface Cache Interface used to interact with the second-level cache. If a cache is not in use, the methods of this interface have no effect, except for contains , which returns false ... contains (Class cls, Object primaryKey) Whether the cache contains data for the given | |
javax.persistence.ManyToMany within an embeddable class contained within an entity class to specify a relationship to a collection of entities. If the relationship is bidirectional and the entity containing the embeddable class | |
JDO Reference (JavaDoc) This reference contains the API documentation (similar to JavaDoc) of JDO 2.2. The content is derived from the original JDO documentation with some additions and notes. The most basic JDO types are: All the other JDO types are organized into the following sections: | |
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 | |
javax.jdo.Transaction. Throws: JDOUserException - if transactions are managed by a container in the managed environment, or ... a container in the managed environment, or if the transaction is not active. Since: JDO 1.0 String ... a container in the managed environment, or if the transaction is not active. Since: JDO 1.0 void | |
javax.jdo.Extent contains all instances of a particular class or interface in the data store; this method returns ... to contain subclasses. Return: true if this Extent was defined to contain instances | |
javax.jdo.FetchGroup that contain the FetchGroup . When a FetchGroup is obtained via PersistenceManagerFactory ... getMembers () Return an immutable Set of String containing the names of all members. The Set ... to the membership in the FetchGroup. Return: an immutable Set containing the names of all members in the FetchGroup | |
Query.setFilter(filter) - JDO Method for the query. The filter specification is a String containing a Boolean expression ... . contains (Object o) , Collection.isEmpty() , String.startsWith(String s) , and String.endsWith(String e ... and the Collection. contains (Object o) method. Identifiers in the expression are considered to be in | |
javax.jdo.PersistenceManager application components. It is the factory for Query and Transaction instances, and contains methods ... . This exception contains a nested JDOOptimisticVerificationException for each object that failed ... with the PersistenceManager regardless of the type of ObjectId. The ObjectId does not necessarily contain |