ObjectDB ObjectDB

Internal Website Search

71-80 of 200 resultsRefresh

Unexpected exception during open the database

. <schema> <package name="com.btc.ep.bl.dmos"> <class name="TestImpl" new-name="com.btc.ep.bl.internal.dmos.RenamedTestImpl"/> </package> </schema> @Entity public class RenamedTestImpl { ... @Index private String scopeID; ... } if we remove the @Index annotation in the entity or we remove the schema

Primary key generation problem after changing entity package

Hi, I changed package name for some of my entities in database. I added info in <schema><package... /></schema> of my configuration file - and the changes have been succesfully made in database. Unfortunately, sequences have been probably lost for changed entity classes. After schema change I

DB Doctor sets type to "unknown" for new fields

and run DB Doctor on the exiting DB file in order to update the schema. The fields are added to the schema as expected, however their type is set to unknown - we were expecting Boolean. The attached ... RecordingMetaData AS r In addition, the entity class schema shows the Boolean type, as well as when you view

Internal Exception and Index Problems

the super class). You can avoid this issue by restarting the ObjectDB server after every such schema change. Future versions of ObjectDB may support schema changes without restarting the server, or ... the server after schema changes. support Support But in our case a server restart doesn't help


. This is a hint and is disregarded for primitive types; it may be used in schema generation. If not


javax.jdo.annotations Annotation Index Target: Classes and fields (including property get methods) Annotation for a database index. Used for database schema generation to create indexes. Corresponds to the xml element "index". Since: JDO 2.1 Column[] columns Columns that compose this index. Columns


javax.jdo.annotations Annotation Unique Target: Classes and fields (including property get methods) Annotation for a database unique constraint. Used for database schema generation to create unique constraints. Also used to reorder database operations when flushing changes to avoid unique


", "javax.jdo.option.Mapping", "javax.jdo.mapping.Catalog", "javax.jdo.mapping.Schema", "javax.jdo


Static Field javax.jdo.Constants String JDO_XSD_RESOURCE The name of the resource for the XML schema of the standard JDO metadata file. Since: JDO 2.1


Static Field javax.jdo.Constants String JDO_XSD_NS The standard JDO metadata schema namespace. Constant value is http://java.sun.com/xml/ns/jdo/jdo. Since: JDO 2.1

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