ObjectDB ObjectDB

Internal Website Search

111-120 of 200 resultsRefresh
56

"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
56

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
56

Shrinking Database Files

context to propose an answer.) CBE CBE ObjectDB reuses space of deleted objects but the database ... never shrinks when large number of objects are deleted and the only way to reclaim that space would be with Database Doctor. Is there a way to reclaim database file space? Is it worth trying to reclaim
56

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
56

Object DB vs EclipseLink/TopLink: Unloaded relationships in detached entities

bean is released. 3. Use a FETCH JOIN as described here: Detach JPA objects with lazy initialized ... Tom Ware at http://dev.eclipse.org/mhonarc/lists/eclipselink-users/msg05258.html: Detached Objects ... how to load the entities of the lazy loading association from the database, when it needs it (without any
55

Object belongs to another EntityManager - ERROR

a record in database [ObjectDB 2.4.6_13] javax.persistence.RollbackException 10:29:14,880 ERROR [stderr] (http--10.23.3.98-8081-5) Failed to commit transaction: Object 'pbdmodel.impl.OrgJedinicaImpl ... .UserException: Object 'pbdmodel.impl.OrgJedinicaImpl#8' belongs to another EntityManager 10:29:15,072
11

Chapter 1 - Quick Tour

on how to start using JPA in your IDE with the ObjectDB object database. Given the simplicity of ObjectDB, that should be quick and easy even for a novice. ... ObjectDB databases and perform basic CRUD operations (Create/Store, Retrieve, Update and Delete) on ObjectDB databases. The example program that this chapter presents manages a simple database
11

JPA Composite Key make Object Db throws "Unexpected exception (Error 990)"

Hello Object Db community :) I am using this wonderful library and I caught a strange exception ... are compliant with the object Db Documentation: http://www.objectdb.com/java/jpa/entity/id Unfortunately, while merging the entity, object db is throwing the following Exception : [ObjectDB 2.4.0
2

Step 3: Define a Spring DAO Component

Operations on the database will be performed by an instance of a Data Access Object (DAO ... - for storing a new Guest entity object in the database. getAllGuests - for retrieving all the existing Guest objects from the database. By using Spring components we can move some work from
2

Step 3: Define a Spring DAO Component

Operations on the database will be performed by an instance of a Data Access Object (DAO ... Guest entity object in the database. getAllGuests - for retrieving all the existing Guest objects ... .annotation.Transactional; @Component public class GuestDao { // Injected database connection

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