ObjectDB ObjectDB

Internal Website Search

61-70 of 200 resultsRefresh

Database Connection using JPA

of the createEntityManagerFactory method takes a map of persistence unit properties as a second parameter: Map<String ... a map of properties (as demonstrated above). To obtain a connection to an empty database (discarding ... another method for instantiation of EntityManager that, like the factory, takes a map of properties as

ObjectDB Object Database Features

and array elements are indexable (extremely fast JOIN queries). Map keys and values are indexable ... Tutorial. Easy Learning Curve Easier than other JPA solutions - no need to learn and use O/R mapping ... to most developers. Friendly API JPA is very simple, except for mapping, which is irrelevant

JPA Lifecycle Events

can only be specified in a mapping XML file because there is no equivalent annotation: <entity-mappings xmlns ... -unit-defaults> </persistence-unit-metadata> </entity-mappings> The mapping file

Storing JPA Entity Objects

element in the XML mapping file: <entity-mappings xmlns="http://java.sun.com/xml/ns/persistence/orm ... -unit-defaults> </persistence-unit-metadata> </entity-mappings> The mapping file


get methods) Used to override a mapping for an entity relationship. May be applied to an entity that extends a mapped superclass to override a relationship mapping defined by the mapped superclass. If not specified, the association is mapped the same as in the original mapping. When used to override

ObjectDB - Object Database for Java (JPA/JDO)

conversions between graphs of Java objects and flat database table rows. Object Relational Mapping ... is an extremely easy to use pure Java Object Database, which supports JPA with no mapping ... relational databases, JDBC, drivers, tables, records, ORM tools and mapping - start writing more effective

Locking in JPA

> For an EntityManagerFactory - using the createEntityManagerFacotory method:   Map<String,Object ... - using the createEntityManager method:   Map<String,Object> properties = new HashMap ... . For example: Map<String,Object> properties = new HashMap();   properties.put("javax.persistence.lock

[ODB1] Chapter 7 - JDOQL Queries

its subclasses), otherwise the query execution throws a JDOUserException. Array and Maps ... = (Collection)query.executeWithArray(args); Arguments can also be passed in a map (by names ... age2"); query.setFilter("this.age >= age1 && this.age <= age2"); Map args = new HashMap


See Also: PersistenceManagerFactory.supportedOptions() String OPTION_MAPPING_HETEROGENEOUS_INTERFACE_TYPE "javax.jdo.option.mapping.HeterogeneousInterfaceType" "javax.jdo.option.mapping.HeterogeneousInterfaceType" Since: JDO 2.1 See Also: PersistenceManagerFactory.supportedOptions() String OPTION_MAPPING_HETEROGENEOUS_OBJECT_TYPE

[ODB1] Chapter 1 - About ObjectDB

. Most other JDO implementations map classes and objects to tables and records in an RDBMS. Using such mapping ... mappings and maintain them throughout the life of a system. With ObjectDB, you can forget relational

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