ObjectDB ObjectDB

Internal Website Search

111-120 of 200 resultsRefresh

can't get HashMap out of the database

" nested object in the same test case is not returned, even though it gets stored in the database ... I'm trying to persist an Entity containing a HashMap. It stores the data in the database OK, but the map is always empty when I get the entity out of the database again. I've reproduced this problem

Delete object from collection versus delete from JPQL

the synchronization between memory and database objects. See these manual pages for more details: DELETE ... relationship between the objects in memory and ObjectDB. I know I can modify the objects and use persist() to write them to the database. But does running a JPQL update or delete alter the in-memory

ObjectDB 2.6.9_06 (embedded): Cascading merge resulting in duplicate objects

this class. If I load a NaturalPerson entity from the database, then add a new address to the object's "addresses" list and use EntityManager.merge(object) to persist it along with the new address ... This issue maybe related to issue #110 (http://www.objectdb.com/database/issue/110

EntityManagerFactory objects being locked during EntityManager creation

objects are being locked during EntityManager object creation. Please refer the below stacktrace ... .cap.consumerframework.database.ReprintCacheDatabase.createDao(ReprintCacheDatabase.java:60) "https ... .database.ReprintCacheDatabase.createDao(ReprintCacheDatabase.java:60) at com.adheris.cap

"Attempt to lock a non entity object" error

Probably a simple answer for someone who's been using ObjectDB for awhile: I'm reading objects from the database outside a transaction (inside doesn't seem to matter). First cycle of doEdit ... object" session.rollback() is somehow causing the problem (found through debugging

Refresh data in application after database data has changed

Hi, I have a Java program that can manage and create some Person objects. When I start my application and I want to add a person with the same national number as a person already in the database, my program has to block the creation. So far so good. Now... I have a person in my database

persisting object with long[][] arrays of array

. Persisting 100,000 small objects (arrays) to the database is expected to take much more time ... Hi, I have an object I am trying to persist (java) - It has several fields of type long ... (); Here is the object: import java.io.Serializable; import javax.persistence.CascadeType; import javax

Database size is much larger than expected (x2)

images. The database size should be larger than the size of the image files on the file ... >>The database size should be larger than the size of the image files on the file system, but more than 100 ...     } } The result database size is about 3GB as expected. support Support Another thing to check in your code

Object explorer cannot open odb file. ObjectDB many-to-many relationship

.getAssignements().get(a11pk); assertEquals(p1, a11.getProject()); But: Question 1: After my test, the database ... get an Assignement object from User object and Underlying object (but not through theirs keys). I'd like to work with typed object in the code whenever possible, and make key usage as transparent as possible

Sort of very large objects - out of memory

the following actions: 1) Create 5 persist threads which create and persist a large object in a loop 100 times each 2) Create 5 get threads which read 100 objects each in a loop based on object ... of "live" data in play at any time. The objectdb cache settings are low in the config - database

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