ObjectDB ObjectDB

Internal Website Search

21-30 of 200 resultsRefresh

Pessimistic Lock Timeouts setting

._LockTimeoutException: Write lock cannot be granted for a.b.c.d.EE#150. irrespective if I set it at '0 ... would be that the current application method 'sleep' until the lock is released. Is this possible? I realise setting ... William Support of pessimistic lock timeout setting (javax.persistence.lock.timeout) was just added in

DB Doctor sets type to "unknown" for new fields

to the schema as expected, however their type is set to unknown - we were expecting Boolean. The attached ... ) is set to unknown. Both are defined as Boolean in Java code. As a result, update operations ... to change the value from null to false: UPDATE RecordingMetaData AS r SET r.emergency=false

Setting temp directory location in ObjectDB

file. I am using JDO and setting the persistenceManager as follow properties.setProperty("javax.jdo ... " /> </general> But can you please let me know, if i dont want to use the conf file, how can i set the temp directory using my java class e.g setting through system property or ..... I m using fileName.odb file

Understanding Database max-threads objectdb.conf Settings Option

to forum thread mentioned above), I set Database max-threads. In the documentation, it was not completely clear to me if this setting controlled how many internal threads ObjectDB uses, or if ObjectDB is doing some sort of queue/locking whose depth is determined by this setting (and entries

Can a Set<E> be a foreign key?

(private Set<Long> cellHeldCharacters;) which holds the IDs of the characters within the cell ... /unrecommended to do it for a Set? For a better picture, I have: @Entity public class Character ... double cellSize;     private Set<Long> cellHeldCharacters; And I want to know if I

JPA query of a Set of terms

of SearchTerm objects. ie. Set<SearchTerm> terms;     // the set is filled with SearchTerm objects ... term should be simpler: Set<SearchTerm> terms; // the set is filled with SearchTerm objects

"Failed to serialize instance" of Set problem

= FetchType.LAZY, mappedBy="parent") private Set<AbstractContainer> abstractContainers = com.google.common.collect.Sets.newIdentityHashSet(); } Got the following exception: com.objectdb.o.UserException: Failed to serialize instance of com.google.common.collect.Sets$SetFromMap - field xxx

JPA and handling large data sets

. But exporting large binary data sets is very slow. To avoid memory problems the binary data type is read step by step during the export with the query/setFirstResult() & setMaxResults(). But for large data sets ... with larger primary key as the next set of objects. Usually the problem is only with setFirstResult

Iterating over large result set

of given size until whole result set is iterated. What I'm thinking about is some kind of streaming of result set from database without building whole object graph representing fetched data in application ... with one query by running the query with a hint "objectdb.result-fetch" set to "LAZY". Another option is to use

ObjectDB-2.6.9: Failed to commit transaction: Failed to set numeric value of field property Element.id using reflection

to set numeric value of field property com.greensoft.objectdb.test.entity.Element.id using reflection ... .9] javax.persistence.RollbackException Failed to commit transaction: Failed to set numeric value ... : com.objectdb.o.UserException: Failed to set numeric value of field property com.greensoft.objectdb

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support