Internal Website Search

11-20 of 200 resultsRefresh

The project does not contain a persistence unit

How do I fix this error/warning that Netbeans gives me regarding no persistence unit?   ThreaT Ashton Hogan ObjectDB itself does not require a persistence unit, but NetBeans produces this warning because a persistence unit is required by JPA.

Exception while accessing the Persistence unit ...?

it is located in the wrong directory, because it seems that the persistence unit is unknown. persistence/persistence_2_0.xsd"> <persistence-unit name ... ;/persistence-unit> </persistence> ceylonsoft Allen T. Arumainayagam

Storing JPA Entity Objects

://java.sun.com/xml/ns/persistence/orm_1_0.xsd" version="1.0"> <persistence-unit-metadata> <persistence-unit-defaults> <cascade-persist/> </persistence-unit-defaults> </persistence-unit-metadata> </entity-mappings>

javax.persistence.Persistence

an EntityManagerFactory for the named persistence unit. persistence unit Create and return an EntityManagerFactory for the named persistence unit using the given

javax.persistence.spi.PersistenceUnitInfo

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

JPA Persistable Types

The term persistable types refers to data types that can be used for storing data in the database. ObjectDB supports all the JPA persistable types, which are: Only instances of entity classes can be stored in the database directly. Other persistable types

Shared (L2) Entity Cache

the ObjectDB configuration. Per persistence unit in the persistence.xml  ... >Persistence Unit Settings The shared cache can also be enabled or disabled using a persistence-unit">persistence unit property:

What is the Java Persistence API (JPA)?

The Java Persistence API (JPA) is a standard API for accessing databases from ... and records as in JDBC. Using plain old Java objects (POJO) to represent persistent data can significantly ... system with built in support of the Java Persistence API (JPA). By interacting with ObjectDB using

javax.persistence.EntityManager

>EntityManager instance is defined by a persistence unit. A persistence unit defines the set ... > interface for access to the metamodel of the persistence unit. interface for access to the metamodel of the persistence unit.

JPA Lifecycle Events

;persistence-unit-metadata> <persistence-unit-defaults> <entity-listeners> ... class="samples.MyDefaultListener2" /> </entity-listeners> </persistence-unit-defaults> </persistence-unit-metadata> </entity-mappings> The mapping