ObjectDB ObjectDB

Internal Website Search

41-50 of 200 resultsRefresh
20

JPA Named Queries

class. But since the scope of named queries is the entire persistence unit, names should be selected ... the listing of managed classes in a persistence unit definition is to support named queries. Notice ... must be available. ObjectDB makes the definition of a persistence unit optional. Named queries are automatically
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
15

Company

persistence solution for Java, based on the Java Persistence API (JPA) and the Java Data Objects (JDO ... Ltd Unit 632 109 Vernon House Friar Lane Nottingham NG1 6DQ United Kingdom +44 (0) 330 8080702 sales
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
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