About XML

101-110 of 200Refresh
JPA Doc
2

getSharedCacheMode()

Method javax.persistence.spi.PersistenceUnitInfo SharedCacheMode getSharedCacheMode() Returns the specification of how the provider must use a second-level cache for the persistence unit. The result of this method corresponds to the shared-cache-mode element in the persistence.xml file. Returns
JPA Doc
2

getTransactionType()

Method javax.persistence.spi.PersistenceUnitInfo PersistenceUnitTransactionType getTransactionType() Returns the transaction type of the entity managers created by the EntityManagerFactory. The transaction type corresponds to the transaction-type attribute in the persistence.xml file. Returns
JPA Doc
2

getValidationMode()

Method javax.persistence.spi.PersistenceUnitInfo ValidationMode getValidationMode() Returns the validation mode to be used by the persistence provider for the persistence unit. The validation mode corresponds to the validation-mode element in the persistence.xml file. Returns: the validation mode
JDO Doc
2

javax.jdo.annotations.Cacheable

javax.jdo.annotations Annotation Cacheable Target: Classes and fields (including property get methods) Annotation to specify that this class/field/property is cacheable in a Level 2 cache. This corresponds to the xml attribute "cacheable" of the "class", "field" and "property" elements. Since: JDO
JDO Doc
2

javax.jdo.annotations.Column

javax.jdo.annotations Annotation Column Target: Fields (including property get methods) Annotation for a column in the database. Corresponds to the xml element "column". Since: JDO 2.1 String allowsNull Whether the column allows null values to be inserted. Whether the column allows null values
JDO Doc
2

javax.jdo.annotations.Discriminator

javax.jdo.annotations Annotation Discriminator Target: Classes Annotation for the discriminator of the class. Corresponds to the xml element "discriminator" of the "inheritance" element. Since: JDO 2.1 String column Name of the column for the discriminator Name of the column for the discriminator
JDO Doc
2

javax.jdo.annotations.Element

javax.jdo.annotations Annotation Element Target: Fields (including property get methods) Annotation for the element of a collection/array relation. Corresponds to the xml element "element". Since: JDO 2.1 String column Name of the column to store the element in. Name of the column to store
JDO Doc
2

javax.jdo.annotations.Embedded

javax.jdo.annotations Annotation Embedded Target: Fields (including property get methods) Annotation to define that the object is embedded into the table of the owning object. Corresponds to the xml element "embedded". Since: JDO 2.1 Persistent[] members Members for this embedding. Members
JDO Doc
2

javax.jdo.annotations.Extension

javax.jdo.annotations Annotation Extension Target: Classes and fields (including property get methods) Annotation for a JDO vendor extension. Corresponds to the xml element "extension". Since: JDO 2.1 String key The key for the extension (required). The key for the extension (required). Returns
JDO Doc
2

javax.jdo.annotations.FetchGroup

javax.jdo.annotations Annotation FetchGroup Target: Classes Annotation for the fetch group of a class. Corresponds to the xml element "fetch-group". Since: JDO 2.1 String[] fetchGroups Fetch groups to be nested (included) in this fetch group. Fetch groups to be nested (included) in this fetch group