About persistence unit

151-160 of 200Refresh
JDO Doc
8

Persistent.types

Annotation Element javax.jdo.annotations.Persistent Class[] types Types of the member. Used when the declared member type is a supertype of the actual type that is stored in the member. For example ... when used for persistence. Returns: the types Default value: {} Since: JDO 2.1
Forum
8

persistence.xml classes not respected by ObjectDB

/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"> <persistence-unit ... .persistence.jdbc.password" value="xxx"/> persistence-unit> <persistence-unit ... "/> persistence-unit> persistence> Thanks. Try adding 
Forum
8

Persist not working when ObjectDB and another db is used in the same application (through spring) with different tx managers

/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"> <persistence-unit ... .jdbc.password" value="admin"/>   persistence-unit> persistence> Spring xml ... EntityManagerFactory "entityManagerFactory", which is associated with the MySQL/Hibernate persistence unit
Forum
8

How to Use a SF with extended Persistence Context?

) JBAS011402: Starting Persistence Unit Service 'Guestbook.war#guest-pu' 13:52:03,081 INFO  [org.jboss.as ... Persistence Unit Service 'Paltzefomat.war#paltzefomat-pu' 13:52:03,160 INFO  [org.jboss.web] (MSC service ... Hey, I have a problem to use SF with an Extended Persistence Context Regarding to Transactions
JDO Doc
8

Constants.ANONYMOUS_PERSISTENCE_MANAGER_FACTORY_NAME

Static Field javax.jdo.Constants String ANONYMOUS_PERSISTENCE_MANAGER_FACTORY_NAME The name of the anonymous PersistenceManagerFactory, which is the empty string. Since: JDO 2.1
JDO Doc
8

Constants.PROPERTY_PERSISTENCE_MANAGER_FACTORY_CLASS

Static Field javax.jdo.Constants String PROPERTY_PERSISTENCE_MANAGER_FACTORY_CLASS "javax.jdo.PersistenceManagerFactoryClass" Since: JDO 2.1 See Also: JDOHelper.getPersistenceManagerFactory(java.util.Map)
JPA Doc
8

javax.persistence.Access

javax.persistence Annotation Access Target: Classes and fields (including property get methods) Used to specify an access type to be applied to an entity class, mapped superclass, or embeddable class, or to a specific attribute of such a class. Since: JPA 2.0 AccessType value (Required
JPA Doc
8

javax.persistence.AssociationOverrides

javax.persistence Annotation AssociationOverrides Target: Classes and fields (including property get methods) Used to override mappings of multiple relationship properties or fields. Example: @MappedSuperclass public class Employee { @Id protected Integer id; @Version
JPA Doc
8

javax.persistence.AttributeOverrides

javax.persistence Annotation AttributeOverrides Target: Classes and fields (including property get methods) Used to override mappings of multiple properties or fields. Example: @Embedded @AttributeOverrides({ @AttributeOverride(name="startDate
JPA Doc
8

javax.persistence.Cache

javax.persistence Interface Cache Interface used to interact with the second-level cache. If a cache is not in use, the methods of this interface have no effect, except for contains, which returns false. Since: JPA 2.0 Learn how to use Cache in Chapter 3 of the ObjectDB/JPA manual. boolean contains