ObjectDB ObjectDB

Internal Website Search

51-60 of 200 resultsRefresh
13

Internal exception when updating date filed (TemporalType.DATE)

{         private final int GENERATE_PERSONS_COUNT = 1000;         private EntityManagerFactory entityManagerFactory;         private EntityManager entityManager;         public DataManager(String connectionString) {             entityManagerFactory = Persistence.createEntityManagerFactory
12

Connection is closed Caused by: java.io.EOFException

.*; public final class Test {     public static void main(String[] args) {         EntityManagerFactory ... ) {         EntityManagerFactory emf = Persistence.createEntityManagerFactory(             "objectdb ... was not closing the EntityManagerFactory. I have now added a method which I explicitly call after I
3

createEntityManagerFactory(persistenceUnitName)

Static Method javax.persistence.Persistence EntityManagerFactory createEntityManagerFactory( String persistenceUnitName ) Create and return an EntityManagerFactory for the named persistence unit. Parameters: persistenceUnitName - the name of the persistence unit Returns: the factory that creates
3

javax.persistence.EntityManager

Since: JPA 1.0 EntityManagerFactory getEntityManagerFactory() Return the entity manager factory for the entity manager. Return the entity manager factory for the entity manager. Returns: EntityManagerFactory
3

getEntityManagerFactory()

Method javax.persistence.EntityManager EntityManagerFactory getEntityManagerFactory() Return the entity manager factory for the entity manager. Returns: EntityManagerFactory instance Throws: IllegalStateException - if the entity manager has been closed Since: JPA 2.0
3

getTransactionType()

Method javax.persistence.spi.PersistenceUnitInfo PersistenceUnitTransactionType getTransactionType() Returns the transaction type of the entity managers created by the EntityManagerFactory ... : transaction type of the entity managers created by the EntityManagerFactory Since: JPA 1.0
2

javax.persistence.PersistenceUnit

javax.persistence Annotation PersistenceUnit Target: Classes and fields (including property get methods) Expresses a dependency on an EntityManagerFactory and its associated persistence unit. Since: JPA 1.0 String name (Optional) The name by which the entity manager factory is to be accessed in
0

getPersistenceManagerFactory(overrides, name, resourceLoader, pmfLoader)

.EntityManagerFactory cast to a PersistenceManagerFactory. If the name given is null or consists ... .persistence.EntityManagerFactory classes Returns: the PersistenceManagerFactory with properties in
0

javax.jdo.JDOEntityManager

See Also: setDetachAllOnCommit(boolean) EntityManagerFactory getEntityManagerFactory() Return the entity ... . Returns: EntityManagerFactory instance Throws: IllegalStateException - if the entity manager
0

javax.jdo.PersistenceManagerFactory

semantics as the same-named property in JSR-220 EntityManagerFactory. Parameters: name

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