ObjectDB ObjectDB

Internal Website Search

81-90 of 200 resultsRefresh
11

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

require XML metadata. You cannot define default listeners using annotations (at least in JPA 2.0). support Support Is there a way using em.getDelegate() and then using objectdb api ? I would like ... explained in chapter 3 of the manual. You may also register listener using the JDO API
10

Class fields selection to store

In a class how do I define which are the fields to be stored? (using JDO API) It's using persistence-modifier="persistent" ? If I have a class with 40 fields and I only want to store ... you can use annotations instead of XML metadata). support Support
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
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
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<X> setLockMode( LockModeType lockMode) Set the lock mode ... - if the query is found not to be a Java Persistence query language SELECT query or a Criteria API
2

Query fails with failed to read

:214) com.agile.hummingbird.API.handleGetContainer(API.java:3130) com.agile.hummingbird.API.directRequest(API.java:965) com.agile.hummingbird.API.handleWebSocketRequest(API.java:808) com.agile ... ) at com.objectdb.jpa.JpaQuery.getResultList(JpaQuery.java:721) at com.agile.hummingbird.API
2

javax.persistence.Query

a Criteria API query Since: JPA 2.0 int getMaxResults() The maximum number of results the query ... Persistence query language SELECT query or a Criteria API query Since: JPA 2.0 Query setMaxResults(int ... (Class<T> cls) Return an object of the specified type to allow access to the provider-specific API
0

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
0

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
0

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

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support