ObjectDB ObjectDB

Internal Website Search

41-50 of 200 resultsRefresh
17

JPA Metamodel API

(); If managed classes are not listed in the persistence unit (which is optional when using ObjectDB ... can also be used with types that are still unknown to ObjectDB (not listed in the persistence unit ... The JPA Metamodel API provides the ability to examine the persistent object model and retrieve
17

Posting Sample Code

not contain a persistence unit, An entity or IdClass class should implement the java.io.Serializable interface). ... (preferred over JUnit). Use embedded mode to connect to the ObjectDB database directly (no persistence unit). Keep the test as simple as possible - remove unnecessary code (but keep it complete
16

Company

persistence solution for Java, based on the Java Persistence API (JPA) and the Java Data Objects (JDO ... Ltd Unit 632 37 Westminster Buildings Theatre Square Nottingham NG1 6LG United Kingdom +44 (0) 330
15

Setting and Tuning of JPA Queries

to local): For the entire persistence unit - using a persistence.xml property:     <properties ... Hints ObjectDB supports the following query hints: "javax.persistence.query.timeout" - sets maximum ... . "javax.persistence.lock.timeout" - sets maximum waiting time for pessimistic locks, when pessimistic
14

Locking in JPA

can be set in several scopes: For the entire persistence unit - using a persistence.xml property:     <properties>        <property name="javax.persistence.lock.timeout" value="1000"/> </properties ... occurs a LockTimeoutException is thrown immediately. The "javax.persistence.lock.timeout" hint
12

Persistence()

Constructor javax.persistence.Persistence Persistence() Since: JPA 1.0
12

Persistence.PERSISTENCE_PROVIDER

Static Field javax.persistence.Persistence String PERSISTENCE_PROVIDER Deprecated. This final String is deprecated and should be removed and is only here for TCK backward compatibility Since: JPA 1.0
2

Step 2: Define a JPA Entity Class

that a persistence unit definition in an XML file is missing. This is discussed in the ObjectDB Manual ... code: package guest; import java.io.Serializable; import java.sql.Date; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; @Entity public
2

Step 2: Define a JPA Entity Class

.Serializable; import javax.persistence.*; @Entity public class Point implements Serializable ... is an ordinary Java class. The warning that NetBeans displays on the Guest class indicates that a persistence unit definition in an XML file is missing. This is discussed in the ObjectDB Manual
1

javax.jdo.JDOHelper

PersistenceManagerFactory or persistence unit. Returns a named PersistenceManagerFactory or persistence unit. Parameters ... PersistenceManagerFactory or persistence unit. Returns a named PersistenceManagerFactory or persistence ... loader) Returns a named PersistenceManagerFactory or persistence unit. Returns a named

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