About Metadata API

91-100 of 200Refresh
JPA Doc
2

createContainerEntityManagerFactory(info, map)

is to be created. Parameters: info - metadata for use by the persistence provider map - a Map ... : EntityManagerFactory for the persistence unit specified by the metadata Since: JPA 1.0
JPA Doc
2

javax.persistence.NamedNativeQuery

resultSetMapping The name of a SqlResultSetMapping, as defined in metadata. The name of a SqlResultSetMapping, as defined in metadata. Default value: "" Since: JPA 1.0
JPA Doc
2

javax.persistence.spi.PersistenceProvider

when an EntityManagerFactory is to be created. Parameters: info - metadata for use by the persistence provider map ... ". Returns: EntityManagerFactory for the persistence unit specified by the metadata Since: JPA 1.0
JDO Doc
2

newNamedQuery(cls, queryName)

of a query defined in metadata. Parameters: cls - the Class of candidate instances queryName - the name of the query to look up in metadata Returns: the new Query Since: JDO 1.0
JDO Doc
2

unregisterClass(pcClass)

Method javax.jdo.spi.JDOImplHelper void unregisterClass(   Class pcClass ) Unregister metadata by class. This method unregisters the specified class. Any further attempt to get metadata for the specified class will result in a JDOFatalUserException. Parameters: pcClass - the PersistenceCapable class to be unregistered. Since: JDO 1.0.2
JDO Doc
2

unregisterClasses(cl)

Method javax.jdo.spi.JDOImplHelper void unregisterClasses(   ClassLoader cl ) Unregister metadata by class loader. This method unregisters all registered PersistenceCapable classes loaded by the specified class loader. Any attempt to get metadata for unregistered classes will result in
JPA Doc
2

javax.persistence.TypedQuery

SELECT query or a Criteria API query Since: JPA 2.0 int getMaxResults() The maximum number of results ... a Criteria API query Since: JPA 2.0 TypedQuery setLockMode( LockModeType lockMode) Set the lock ... - if the query is found not to be a Java Persistence query language SELECT query or a Criteria API
Result
2

[ODB1] Chapter 4 - JDO Metadata

A JDO metadata file is an XML file with a '.jdo' suffix, containing information about one or more persistent classes. All the persistent classes, and only them, have to be declared in a metadata file. The metadata is used first by the JDO Enhancer, and later by the JDO
Issue
2

Query fails with failed to read

.hummingbird.API.handleGetContainer(API.java:3130) com.agile.hummingbird.API.directRequest(API.java:965) com.agile.hummingbird.API.handleWebSocketRequest(API.java:808) com.agile.hummingbird ... ) at com.agile.hummingbird.API.executeGetProcessOperations(API.java:4175) at com.agile
Forum
2

How to define Default Entity Listeners without persistence.xml and orm.xml

metadata. You cannot define default listeners using annotations (at least in JPA 2.0). Is there a way using em.getDelegate() and then using objectdb api ? I would like to do specifics actions ... . You may also register listener using the JDO API, which is not documented but supported by ObjectDB. mgangat