Home » Search

About XML

81-90 of 200Refresh
Forum
3

Exception while accessing the Persistence unit ...?

for the Unit Name)   Thanks, Allen   Maybe the persistence.xml file has an error or maybe ... of the tutorial. Hi, I have gone over the turorial few times. Here is my persistence.xml and attached please find ... page but I am unable to do any Database operations.) xml version="1.0" encoding="UTF-8
JPA Doc
3

excludeUnlistedClasses()

the persistence.xml file. Returns: whether classes in the root of the persistence unit that have not
JDO Doc
3

FetchGroup.DEFAULT

Static Field javax.jdo.FetchGroup String DEFAULT For use with addCategory and removeCategory calls. This category includes members defined in the default fetch group in xml or annotations. Redefining the default fetch group via the API does not affect the members defined by this category. Using
JPA Doc
3

getJarFileUrls()

.xml file. A URL will either be a file: URL referring to a jar file or referring to a directory
JPA Doc
3

getJtaDataSource()

Method javax.persistence.spi.PersistenceUnitInfo DataSource getJtaDataSource() Returns the JTA-enabled data source to be used by the persistence provider. The data source corresponds to the jta-data-source element in the persistence.xml file or is provided at deployment or by the container. Returns
JPA Doc
3

getManagedClassNames()

Method javax.persistence.spi.PersistenceUnitInfo List getManagedClassNames() Returns the list of the names of the classes that the persistence provider must add to its set of managed classes. Each name corresponds to a named class element in the persistence.xml file. Returns: the list
JPA Doc
3

getNonJtaDataSource()

Method javax.persistence.spi.PersistenceUnitInfo DataSource getNonJtaDataSource() Returns the non-JTA-enabled data source to be used by the persistence provider for accessing data outside a JTA transaction. The data source corresponds to the named non-jta-data-source element in the persistence.xml
JDO Doc
3

getPersistenceManagerFactory()

Static Method javax.jdo.JDOHelper PersistenceManagerFactory getPersistenceManagerFactory() Get the anonymous PersistenceManagerFactory configured via the standard configuration file resource "META-INF/jdoconfig.xml", using the current thread's context class loader to locate the configuration file
JDO Doc
3

getPersistenceManagerFactory(pmfClassLoader)

Static Method javax.jdo.JDOHelper PersistenceManagerFactory getPersistenceManagerFactory(   ClassLoader pmfClassLoader ) Get the anonymous PersistenceManagerFactory configured via the standard configuration file resource "META-INF/jdoconfig.xml", using the given class loader. Parameters
JPA Doc
3

getPersistenceProviderClassName()

Method javax.persistence.spi.PersistenceUnitInfo String getPersistenceProviderClassName() Returns the fully qualified name of the persistence provider implementation class. Corresponds to the provider element in the persistence.xml file. Returns: the fully qualified name of the persistence provider implementation class Since: JPA 1.0