About property

forum_thread

Glassfish 4 JTA Data Source Support

I would like to have the persistence.xml of my server application (REST service) use a JTA data source, so that I can configure the data source from the app server (Glassfish 4 in my case).  My application already uses a number of JDBC data sources for Oracle etc., that are configured in that way, but I'm not sure how to achieve it with ObjectDB.... unit name, or using the "javax.persistence.jdbc.url" property in a real persistence unit. Note that JTA is supported by ...

 
api-jpa

javax.persistence.MapsId

Designates a ManyToOne or OneToOne relationship attribute that provides the mapping for an EmbeddedId primary key, an attribute within an EmbeddedId primary key, or a simple primary key of the parent entity.(Annotation of JPA)

 
api-jpa

JoinColumn.unique

(Optional) Whether the property is a unique key.(Annotation Element of javax.persistence.JoinColumn)

 
api-jdo

javax.jdo.annotations.Join

Annotation for the join of a relation.(Annotation of JDO)

 
api-jpa

MapKeyJoinColumn.name

(Optional) The name of the foreign key column for the map key.(Annotation Element of javax.persistence.MapKeyJoinColumn)

 
api-jpa

javax.persistence.MapKeyJoinColumns

Supports composite map keys that reference entities.(Annotation of JPA)

 
api-jpa

ElementCollection.targetClass

(Optional) The basic or embeddable class that is the element type of the collection.(Annotation Element of javax.persistence.ElementCollection)

 
api-jpa

javax.persistence.PrimaryKeyJoinColumn

Specifies a primary key column that is used as a foreign key to join to another table.(Annotation of JPA)

 
api-jdo

setRetainValues(retainValues)

If true, at commit instances retain their values and the instances transition to persistent-nontransactional.(Method of javax.jdo.Transaction)

 
api-jdo

Constants.NONCONFIGURABLE_PROPERTY_VENDOR_NAME

Nonconfigurable property constanct "VendorName"(Static Field of javax.jdo.Constants)