ObjectDB ObjectDB

Internal Website Search

1-10 of 200 resultsRefresh
223

How to define Default Entity Listeners without persistence.xml and orm.xml

I am using JPA programaticaly..ie without xml file, and i would like to define Default Entity ... require XML metadata. You cannot define default listeners using annotations (at least in JPA 2.0 ... to do specifics actions when my objects are persisted, without using XML, and without defining listeners
215

How to package orm.xml when using EJB in WAR?

Hi, I have database utility classes in one project, the id's use sequences declared in an orm.xml ... > and the persistence.xml references this orm.xml : <persistence-unit name="OBJECT_DB_LOCAL_PU ... >/META-INF/orm.xml</mapping-file>         <properties>             <property name="javax.persistence
112

Is ObjectDB better than Object Relational Mapping (ORM)?

As noted above, using ObjectDB instead of a relational database and ORM combination is easier and leads to better performance. ORM tools, however, are very useful where the use of a relational ... a JPA ORM provider (Hibernate, TopLink, EclipseLink or DataNucleus) to access relational databases when necessary - with exactly the same code.
102

JPA Annotations for Mapping (ORM)

Reference (JavaDoc) of JPA 2 ORM annotations.
41

Storing JPA Entity Objects

element in the XML mapping file: <entity-mappings xmlns="http://java.sun.com/xml/ns/persistence/orm ... /ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_1_0.xsd" version="1.0 ... has to be located either in the default location, META-INF/orm.xml, or in another location that is specified
41

Step 6: Set the Spring XML

of the Spring dispatcher servlet to the web.xml configuration file and to configure that servlet using another xml configuration file. Open the web.xml file (under Web Pages > WEB-INF) in a text editor (by right clicking and selecting Edit or by double click and then moving to the XML tab in the editor window
41

Step 6: Set the Spring XML

of the Spring dispatcher servlet to the web.xml configuration file and to configure that servlet using another xml configuration file. Open the web.xml file (under src/main/webapp/WEB-INF) in a text editor (by ... tab in the editor window). Use copy and paste to replace the default content of the web.xml file
10

JDO Annotations for Mapping (ORM)

All about JDO Annotations for Mapping (ORM) in Java/JPA database - explanations, examples, references, links and related information.
6

Constants.ORM_XSD_NS

Static Field javax.jdo.Constants String ORM_XSD_NS The standard JDO object-repository mapping schema namespace. Constant value is http://java.sun.com/xml/ns/jdo/orm. Since: JDO 2.1
6

Constants.ORM_XSD_RESOURCE

Static Field javax.jdo.Constants String ORM_XSD_RESOURCE The name of the resource for the XML schema of the standard JDO object-relational mapping metadata file. 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