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 | |
JPA Query Expressions (JPQL / Criteria) functions, which this section describes. Organization of this section This section contains | |
JPA Metamodel Types, Strings, or Dates) that do not contain persistent attributes of their own. An enumeration | |
JPA Query Structure (JPQL / Criteria) the database. Organization of this Section This section contains the following pages: The following | |
What are the main benefits of using ObjectDB? fields can be stored by ObjectDB simply as part of the containing object. Relational databases lack | |
Where can I learn how to use ObjectDB? The best source for learning ObjectDB is the ObjectDB Manual , which contains all the necessary information for using ObjectDB. The only required background is a good understanding of the Java language. Reading the manual and getting started with ObjectDB could be easier for developers with prior | |
Database Schema Evolution to any collection or array that can contain that object as an element. From any map type to any | |
Chapter 2 - JPA Entity Classes An entity class is a user-defined class whose instances can be stored in a database. To store data in an ObjectDB database using Jakarta Persistence (JPA), you define entity classes that represent your application's data object model. 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 | |
Deleting JPA Entities is committed. Any embedded objects that the entity contains are also deleted. If the transaction is rolled | |
Running JPA Queries. getSingleResult (); However, this assumption depends on the database content. If the database contains | |
JPA Shared (L2) Entity Cache. contains (MyEntity.class, Long.valueOf(id)); You can remove cached entities from the cache by using | |
Entity Management Settings The configuration element specifies client-side and embedded-mode settings . The default configuration file contains the following element: The element The element specifies enhancement-related settings: The agent attribute (with a value of "true" or "false" ) specifies whether to load | |
Posting Sample Code protected constructor, An entity class must be a top level class, The project does not contain | |
JPA Annotations. Lifecycle and injection Manage entity lifecycle events and container resource injection with the following | |
Paths and Types in JPQL and Criteria API expression to be valid, the user-defined persistent class must contain a persistent field or property | |
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 | |
jakarta.persistence.criteria.Subquery of the containing query Returns: subquery root. Since: Jakarta Persistence (JPA) 1.0 Join correlate ( Join ... . Parameters: parentJoin - join object of the containing query Returns: subquery join. Since: Jakarta ... : parentCollection - join object of the containing query Returns: subquery join. Since: Jakarta Persistence (JPA | |
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 | |
jakarta.persistence.PessimisticLockScope owned by the entity that are contained in join tables are locked if the property jakarta.persistence ... table(s). Entity relationships for which the locked entity contains the foreign key ... ). Element collections and relationships for which the entity does not contain the foreign key (such as | |
jakarta.persistence.Cache, except for contains , which returns false. Since: Jakarta Persistence (JPA) 2.0 The Shared (L2) Entity Cache article explains how to use Cache . Public Instance Methods boolean contains ( Class cls , Object primaryKey ) Whether the cache contains data for the given entity. Parameters: cls - entity | |
jakarta.persistence.Persistence a Jakarta EE container environment as well; however, support for the Java SE bootstrapping APIs is not required in container environments. The Persistence class is used to obtain a PersistenceUtil instance in ... ; these may also contain provider-specific properties. The values of these properties override any values | |
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 to the specified attribute of the embeddable instances contained in the collection a map collection ... to the keys or values of the map, or to the specified attribute of the embeddable instances contained | |
jakarta.persistence.criteria.CriteriaQuery without specifying a type, and the list passed to the multiselect method contains only a single element ... to the multiselect method contains more than one element, an instance of type Object[] will be instantiated | |
jakarta.persistence.CollectionTable to the ElementCollection annotation. If the embeddable class contains references to other entities, the default values ... to the concatenation of the name of the containing entity and the name of the collection attribute, separated by | |
jakarta.persistence.PersistenceProperty Jakarta Persistence (JPA) Annotation Type jakarta.persistence.PersistenceProperty Implemented Interfaces: Annotation Describes a single container or persistence provider property. Used in ... to the persistence provider by the container when the entity manager is created. Properties that are not | |
jakarta.persistence.PersistenceConfiguration to configure a container -managed persistence unit. That is, the configured persistence unit ... must be provided via jtaDataSource , or by the container . If PersistenceUnitTransactionType.RESOURCE | |
Getting Started with JPA and Eclipse distribution zip file. The distribution zip contains everything necessary (no external dependencies | |
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 5: Add a JSP Page Guest Book Web Application Tutorial Name: The JSP generates the guestbook page output, which contains | |
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 distribution zip file. The distribution zip contains everything necessary (no external dependencies | |
Step 4: Create an ObjectDB Data Set this tutorial contains Point entities. We will use a simple JPQL query that retrieves points with x value in | |
[ODB1] Chapter 5 - JDO Connections containing database operations should be loacated here. } catch (JDOException x) { // Error handling code |