ObjectDB ObjectDB

Internal Website Search

71-80 of 200 resultsRefresh

Deleting JPA Entity Objects

Existing entity objects can be deleted from the database either explicitly by invoking the remove method or implicitly as a result of a cascade operation. Explicit Remove In order to delete an object ... since disconnecting a relationship is not a remove operation. To avoid dangling references as a result

Entity Management Settings

"false" when using JPA. The on-persist attribute specifies whether cascading (as a result ... whether cascading (as a result of either global or local setting) should be applied during commit and flush

ObjectDB - Object Database for Java (JPA/JDO)

layer. The result is better performance and faster applications, especially when the object data model is complex. See JPA benchmark results... Reduce development time. Improve productivity. ObjectDB

Storing JPA Entity Objects

New entity objects can be stored in the database either explicitly by invoking the persist method or implicitly as a result of a cascade operation. Explicit Persist The following code stores ... to the database is sometimes also useful before executing queries in order to get up to date results

General Settings and Logging

data, such as query results that contain millions of objects. The <temp> element specifies temporary ... sockets become obsolete as a result of inactivity. The value is the timeout in seconds, where 0

Database Transaction Replayer

files and tries to apply all the recorded operations. The resulting database file is also generated in ... succeeds, and all the operations until transaction 1000 are applied, the generated result file is expected to be 1000.odb.

Query Parameters in JPA

Query parameters enable the definition of reusable queries. Such queries can be executed with different parameter values to retrieve different results. Running the same query multiple times ... ("name", name).getSingleResult(); } The WHERE clause reduces the query results to Country objects

Step 3: Add a Main Class

("SELECT p FROM Point p", Point.class); List<Point> results = query.getResultList(); for (Point p : results) { System.out.println(p); } // Close

Step 4: Create an ObjectDB Data Set

): You may click Preview Results to see the query results: Close the dialog box by clicking the OK button. In

[ODB1] Chapter 6 - Persistent Objects

(...) are never embedded. Objects stored as a result of persistence by reachability can be embedded. By default ... , sophisticated queries. The results can also be sorted by specified order expressions. Chapter 7

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