Internal Website Search
51-84 of 84 resultsLazy loading does not work - crud takes long @Table(name = "PROJECT") @SequenceGenerator(name = "PROJECT_ SEQUENCE ", sequenceName = "PROJECT_ SEQUENCE ", allocationSize = 1, initialValue = 0) @SuppressWarnings({"PersistenceUnitPresent ... ; @GeneratedValue(strategy = GenerationType. SEQUENCE , generator = "PROJECT_ SEQUENCE ")   | |
Criteria query error: Unexpected query token(strategy = GenerationType.TABLE, generator = " sequences ") // @TableGenerator(name = " sequences ", initialValue = 1, allocationSize = 50) // @GeneratedValue(strategy = GenerationType. 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 | |
Inserted entities with strings as keys and indices needs more and more ram memory in comparing to primitive integers as keys and indices keys are sequential and therefore they are stored in sequence pages in the database. New objects ... objects their primary keys are sequential and therefore they are stored in sequence pages in | |
First query takes 4+ minutes to complete="RecordingMetaData_ sequence ", sequenceName="RecordingMetaData_ sequence ", allocationSize=1 ) @Indices | |
@OneToMany(fetch = FetchType.LAZY) list is always null = "b", allocationSize = 1) public class Parent { @Id @GeneratedValue(strategy = GenerationType. SEQUENCE ... @GeneratedValue(strategy = GenerationType. SEQUENCE , generator = "b") private int id; @ManyToOne | |
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 | |
composite index not used in query less useful, unless startDate is last. support Support the sequence of the index members is the key, thanks hgzwicker Hans-Georg Zwicker | |
Backup file always bigger than live db file This makes sense. The database file may have unused space, and if that space contains a long sequence | |
Schema Evolution Question sequence of steps appear to be required (although I don't understand why): Stop client application (old | |
Uninitialized primary key (id = 0) that you previously set manually. You may also try a different strategy. For example, if you use a sequence or | |
Problem upgrading for the sequence of two builds, the last that works for you an the first that doesn't, and check | |
@SequenceGenerator and single id in whole database Hi, I have a question about @SequenceGenerator . I have separate @SequenceGenerator in each of my model enitities, but it looks like id's are generated using only one, shared generator. Is there any other way to use separate generators for each entity, so that each entity uses its own sequence | |
Trouble bug on explorer @GeneratedValue(strategy=GenerationType. SEQUENCE , generator="seq") private int gid; @Index private int id | |
Newbie : How to return the auto-generated ID to have the id available earlier (immediately after persist ) - you have to switch to sequence or table value generation strategy. support Support | |
Null enums and IS (NOT) NULL: NullPointerException. SEQUENCE , generator = "asd") private int id; @Enumerated(EnumType.STRING) private ExampleEnum | |
Master database switching to read-only mode, possibly caused by slave failure We had a database failure causing a production outage. Both master and slave databases have failed, slave became unresponsive and the master switched to read-only mode. By the look of it the slave database failed first and possibly caused the master to switch to read-only mode. The sequence | |
Problems down-casting in WHERE clause.Thread.run(Thread.java:662) Is this expected behavior, due to AND not being sequenced , and an attempt | |
ObjectDB 2.5.0 type. Fixed JDO sequence names to be fully qualified names (issue #1074 ). Fixed accessing a package level JDO sequence using getSequence ( issue #1074 ). Fixed false Doctor warnings when updating | |
com.objectdb.o.InternalException: java.lang.ArrayIndexOutOfBoundsException: null: (except that this may be related to using large number of entity classes and/or sequences ). Can you post a test that causes ... , and sequences is large. The workaround just increased the threshold but didn't fix the problem in the general | |
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 | |
each 1-2 days objects on some objectdb level lock/block each other Zwicker one more sequence (system not more performing) hgzwicker Hans-Georg Zwicker we increased | |
ObjectDB 2.0.0 graphs. Fixed a synchronization bug in sequence value generation. Fixed some issues in query execution | |
Internal exception on flush sequence that has caused the problem as until now this part of the process has been running fine | |
objectdb-2.6.9_06: Extended Persistence Context fails: 'Attempt to begin a new transaction when a transaction is active'objectdb-2.6.9_06: Extended Persistence Context fails: 'Attempt to begin a new transaction when a transaction is active' | |
When using inheritance, you can specify, which ID to use and can use individual sequence generator settings. lwalkowski Lukasz Walkowski |