Fast Object Database for Java - with JPA/JDO support

Internal Website Search

11-20 of 200 resultsRefresh
40

[ODB1] Chapter 3 - Persistent Classes

Persistent Classes are user defined classes whose instances can be stored in a database using JDO. Instances of these classes that represent objects in the database are called persistent objects or persistent instances. Objects that do not represent anything in the database (including instances
40

[ODB1] Chapter 6 - Persistent Objects

Persistent In JDO applications, every object in memory is either a persistent object, i.e. represents some ... , regardless of its type. Instances of persistent classes can become persistent later, as demonstrated by ... a simple transient object. Then it becomes persistent by an explicit call to the makePersistent
39

What is the Java Persistence API (JPA)?

The Java Persistence API (JPA) is a standard API for accessing databases from within Java ... . Using plain old Java objects (POJO) to represent persistent data can significantly simplify database ... Persistence API (JPA). By interacting with ObjectDB using standard JPA you can keep your application
37

javax.persistence.Persistence

(String persistenceUnitName) Create and return an EntityManagerFactory for the named persistence unit. Create and return an EntityManagerFactory for the named persistence unit. Parameters: persistenceUnitName - the name of the persistence unit Returns: the factory that creates EntityManagers configured
35

javax.persistence.spi.PersistenceUnitInfo

are only transformed once within the same classloading scope, regardless of how many persistence units ... the root of the persistence unit that have not been explicitly listed are to be included in the set of managed classes. Returns whether classes in the root of the persistence unit that have not
31

Exception while accessing the Persistence unit ...?

for the Unit Name) Thanks, Allen ceylonsoft Allen T. Arumainayagam Maybe the persistence.xml file has an error or maybe it is located in the wrong directory, because it seems that the persistence unit ... "> <persistence-unit name="GuestbookPU" transaction-type="JTA"> com.objectdb.jpa.Provider
31

The project does not contain a persistence unit

not require a persistence unit, but NetBeans produces this warning because a persistence unit is required by JPA. Although your application should work well with ObjectDB with no persistence unit, you may have to add a persistence unit definition in a persistence.xml file to your project, in order
28

javax.persistence.EntityManager

instance is defined by a persistence unit. A persistence unit defines the set of all classes ... of the persistence unit. Return an instance of Metamodel interface for access to the metamodel of the persistence unit. Returns: Metamodel instance Throws: IllegalStateException - if the entity manager
28

Chapter 2 - JPA Entity Classes

Explains how to define and use JPA entity classes and other JPA persistable types.
28

Shared (L2) Entity Cache

. Per persistence unit in the persistence.xml file. Per entity class - using annotations. ObjectDB Configuration ... . Persistence Unit Settings The shared cache can also be enabled or disabled using a persistence unit property:    <persistence-unit name="my-pu">      ...            

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