ObjectDB ObjectDB

Internal Website Search

31-40 of 51 resultsRefresh

How best to unbind all names?

: pm.currentTransaction().begin(); Extent<ABC> extent = pm.getExtent(ABC.class, true); Query q = pm.newQuery(extent); long deletedCount = q.deletePersistentAll(); pm.currentTransaction().commit ... " bindings (bookmarks). Instead of the above code, I could iterate over the Extent and delete the entities

Embedded in JDO metadata not working in objectDB 2.x ?

files. In those metadata files I have few persistence-capable classes which had extents in ObjectDB 1 (with an OID for every instance) and all other classes were embedded (so without extent ... . Additionally I see in the DB Explorer every class as not embedded, with own extent and OID for every instance

Trouble viewing db in Explorer.

I am having trouble with the Explorer. I can open the db just fine. I can open a few simple extents and view/navigate fine also. The problem occurs when I view the more complex extents. The Explorer will not repaint the right pane. I drag off screen to force repaint and get(right pane): (column1

Type xxx is not found (error 301)

. Update (starting ObjectDB 2.2): em.getMetamodel().entity(User.class) is preferred. Regarding Extent in JPA, your "SELECT a FROM User a" query is the standard replacement of JPA for JDO extents

JDO sequences from ORM file

="JdoTypes$PersistenceCapableInterface"    requires-extent="true" embedded-only="false" />   <class ... $PersistenceCapableWithNoExtent" requires-extent="false" />   <class name="JdoTypes


java.lang Interface Iterable<T> Subinterfaces: Extent Iterator<T> iterator()


classes, as well as helper instances such as Query, Transaction, or Extent. Parameters: flag - the Multithreaded setting. Since: JDO 1.0


Annotation Element javax.jdo.annotations.PersistenceCapable String requiresExtent Whether this class or interface manages an extent. Default value: "" Since: JDO 2.1


Extent. Parameters: compiled - another Query from the same JDO implementation Returns: the new Query Since: JDO 1.0


javax.jdo.annotations Annotation FetchPlan Target: Classes Annotation for the fetch plan of a persistence manager, query, or extent. Corresponds to the xml element "fetch-plan". Since: JDO 2.1 String[] fetchGroups The fetch groups in this fetch plan. The fetch groups in this fetch plan. Returns

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