ObjectDB Database Search
1-19 of 19 resultsJPA Criteria Query Expressions. A builder for general conditional logic sequences using when-then-else logic. A builder for comparing | |
Strings in JPQL and Criteria Queries: The percent sign ( % ), which matches any sequence of zero or more characters. The underscore | |
jakarta.persistence.GenerationType . For a primary key of type Long , Integer , long , or int , the provider selects between TABLE , SEQUENCE ... , Integer , long , or int . Since: Jakarta Persistence (JPA) 1.0 SEQUENCE Indicates that the persistence provider must assign primary keys for the entity using a database sequence . May be used to generate | |
jakarta.persistence.GeneratedValue primary keys is not supported. Example 1: @Id @GeneratedValue(strategy = SEQUENCE , generator = "CUST_SEQ | |
How to package orm.xml when using EJB in WAR? Hi, I have database utility classes in one project, the id's use sequences declared in an orm.xml ... is found OK and that the sequences are declared properly (they also work for postgres ... that the sequence generator isn't working when the EJB is embedded in a WAR file?   | |
Change Sequcene Id ? javax.jdo.datastore. Sequence seq = em.unwrap(javax.jdo.PersistenceManager.class).getSequence ... Masaaki Tsugami You cannot set the next id of an existing sequence . The purpose of the allocate ... sequence with a new initial id, and set the relevant entity class to use the new sequence (note | |
Date field Index is corrupted due to time change; @SequenceGenerator( name="DateTime_ sequence ", sequenceName="DateTime_ sequence ",   ... ; @GeneratedValue(strategy=GenerationType. SEQUENCE , generator="DateTime_ sequence | |
Immediately retrieve unique id = GenerationType. SEQUENCE , generator = "sampleSeqGenerator") @Id long id; The id field is as expected ... Mortimer Cladwell To obtain an automatic id on persist before commit use sequence or table strategy . support Support | |
Populating entity id before transaction commit to finding ID of entity before commit? lwalkowski Lukasz Walkowski You can use a SEQUENCE (or TABLE ... to sequence or table or I will try to force setting id. Thanks. lwalkowski Lukasz Walkowski | |
How the sort order (in queries) works for non english letters? collation sequence . So I wonder if JPA will ever support this. Also, in an RDBMS, you can specify ... , since most international customers probably just use one collation sequence anyhow. Maybe some property | |
problem with lazy loading - unittest project attached - please consider: a different GeneratedValue 's strategy (in ObjectDB the SEQUENCE   | |
Intermittent: "Attempt to reuse an existing primary key value" when persisting a new instance=GenerationType. SEQUENCE , generator="user_pwd_seq") @SequenceGenerator(name="user_pwd | |
Missing (null) elements in eager loaded references @GeneratedValue (strategy = GenerationType. SEQUENCE , generator = "seq" ) private Long id | |
Optimization Question sequence executes when a track update comes in: - If it’s a new track simply add it to the database | |
DB Doctor sets type to "unknown" for new fields=false I can also confirm that the following sequence of updates works fine: UPDATE | |
openejb jpa jaas module; @GeneratedValue(strategy = GenerationType. SEQUENCE , generator = "gen") @Id private int principalId; public | |
JDO PersistenceManager.getSequence() returns null sometimes When using JDO without annotations, database sequences are normally defined in the ORM file. Following discussion on the forum I was told that ObjectDB supports sequences if specified in the JDO ... javax.jdo.datastore. Sequence ; import testcase.Thing; public class Testcase { public static void main | |
combined index not used Support we are a bit lost, where do we find that list/ sequence of query plans ? hgzwicker Hans-Georg | |
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 |