ObjectDB ObjectDB

Internal Website Search

21-30 of 200 resultsRefresh

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

Hi, I am using JDO access to the database with the persistence defined in package.jdo XML metadata files. In those metadata files I have few persistence-capable classes which had extents in ObjectDB ... and own OID) in those few peristence-capable ones. Example of JDO metadata: <class name="ProjectPart

Dynamic Metadata (JDO 3.0)

JDO 3 introduces the ability to specify and query metadata of persistable types dynamically. ObjectDB 2 supports specifying metadata by: JPA XML Mapping Metadata JPA Annotations JDO XML Metadata (e.g. package.jdo) JDO Annotations All these methods are static, i.e. the metadata has to be provided

ObjectDB Object Database Features

support of the JPA and JDO APIs. Fundamental features of relational databases (e.g. primary keys, derived ... (the ObjectDB Doctor). Standard Persistence APIs ObjectDB is the only Object-Oriented Database with built in support for JPA 2. Java Persistence API (JPA) Most features of JPA 2 are supported. Support

JPA Persistence Unit

, username and password, as demonstrated above. XML Mapping Metadata ObjectDB supports using XML metadata ... on using XML metadata can be found in the JPA and JDO specifications and books. Managed Persistable

Database Explorer

nodes in Tree windows. The [Classpath for persistent classes and metadata] field specifies a path to locate persistent classes and XML metadata. Setting this field is not mandatory because you can browse and edit ObjectDB database files when class and metadata files are not available. Some features

[ODB1] Chapter 2 - A Quick Tour

. To become persistent, a class has to: be declared in a JDO metadata file in XML format. include ... with a no-arg constructor (line 11). If it is declared as persistent in a JDO metadata file, it can easily become persistent using the JDO enhancer. JDO Metadata Every persistent class must be declared


query metadata file. The name of the resource for the DTD of the standard JDO query metadata file ... JDOQUERY_XSD_RESOURCE The name of the resource for the XML schema of the standard JDO query metadata file. The name of the resource for the XML schema of the standard JDO query metadata file. Since: JDO 2

[ODB1] Chapter 9 - ObjectDB Explorer

). Notice that JDO metadata for the class (as discussed in chapter 4) must be available ... -extent" attribute (in the JDO metadata) for a persistent class that already has persistent instances in ... when adding a new index (in the JDO metadata) to a class that already has persistent instances in the database

[ODB1] Chapter 3 - Persistent Classes

in a JDO metadata file in XML format. include a no-arg constructor. implement the javax.jdo.spi ... metadata declaration. Chapter 4 explains how to write the JDO metadata declaration. Aside from ... can still become persistent by an explicit instruction in the JDO metadata (useful when a field has to be transient in


native SQL). Parameters: name - the name of a query defined in metadata Returns: the new query ... metadata resultClass - the type of the query result Returns: the new query instance Throws

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