About property

manual

JPA Entity Fields

Explains how to define and use primary keys in JPA, including composite and embedded primary keys.... Inverse Fields Version Field Property Access Primary key fields are discussed in the ... JPA annotation Specifies that the property or field is not persistent. See JavaDoc Reference Page... ...

 
manual

JPA Persistence Unit

Explains how to define a JPA persistence unit in the persistence.xml file.... > <properties > <property name = "javax.persistence.jdbc.url" value = "objectdb://localhost/my.odb" /> <property name = "javax.persistence.jdbc.user" value = "admin" ...

 
forum_thread

Externalising persistence.xml properties in Glassfish?

Hi, ... Then in your server config you define every property as an argument to the JVM like this -dSource =someValue ... My other option is to have  your properties in a property file somewhere and have a method that will read in environment. ...

 
api-jpa

createEntityManagerFactory(persistenceUnitName, properties)

Create and return an EntityManagerFactory for the named persistence unit using the given properties.(Static Method of javax.persistence.Persistence)

 
manual

Shared (L2) Entity Cache

Explains how to set and use the EntityManagerFactory's shared cache (L2 / level 2) in JPA 2.... also be enabled or disabled using a persistence unit property: <persistence-unit name = "my-pu" > ... <properties > <property name = "javax.persistence.sharedCache.mode" value = "ALL" ...

 
api-jpa

find(entityClass, primaryKey, properties)

Find by primary key, using the specified properties.(Method of javax.persistence.EntityManager)

 
api-jpa

AccessType.PROPERTY

Property-based access is used.(Enum Constant of javax.persistence.AccessType)

 
forum_thread

$temp property not evaluated properly when used in log path

I have the following lines in my objectdb.conf file: <log path="$temp/ObjectDB/log/" max="8mb" stdout="false" stderr="false" /> <log-archive path="$temp/ObjectDB/log/archive/" retain="90" /> I don't believe that the $temp property is being evaluated properly here as it creates a new directory "$temp" in the same directory as my execution script. Shouldn't this be logging to the system temp directory? ... /> I don't believe that the $temp property is being evaluated properly here as it creates a new directory "$temp" ...

 
manual

Database Connection using JPA

Describes the main JPA interfaces: EntityManagerFactory, EntityManager and EntityTransaction. Working with the Java Persistence API (JPA) consists of using the following interfaces: This page covers the following topics: Overview EntityManagerFactory EntityManager EntityTransac ...

 
forum_thread

how to query by properties of onetomany relations? (Error 990)

the following code fails em.createQuery("select f from Foo f where f.bars.name = ?1", Foo.class).setParameter(1, barName) stacktrace: #1 2011-05-10 21:39 the following code fails em. createQuery ( "select f from Foo f where f.bars.name = ?1" , Foo. ...