ObjectDB ObjectDB

Internal Website Search

31-40 of 51 resultsRefresh
18

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
16

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
13

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
13

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
13

JDO sequences from ORM file

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

java.lang.Iterable

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

setMultithreaded(flag)

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

PersistenceCapable.requiresExtent

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

newQuery(compiled)

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

javax.jdo.annotations.FetchPlan

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