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
4

createContainerEntityManagerFactory(info, map)

Method javax.persistence.spi.PersistenceProvider EntityManagerFactory createContainerEntityManagerFactory( PersistenceUnitInfo info, Map map ) Called by the container when an EntityManagerFactory ... : EntityManagerFactory for the persistence unit specified by the metadata Since: JPA 1.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
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

createEntityManagerFactory(persistenceUnitName, properties)

Static Method javax.persistence.Persistence EntityManagerFactory createEntityManagerFactory( String persistenceUnitName, Map properties ) Create and return an EntityManagerFactory for the named persistence unit using the given properties. Parameters: persistenceUnitName - the name
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
0

javax.jdo.JDOEntityManager

See Also: setDetachAllOnCommit(boolean) EntityManagerFactory getEntityManagerFactory() Return the entity ... . Returns: EntityManagerFactory instance Throws: IllegalStateException - if the entity manager
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

setTransactionType(name)

Method javax.jdo.PersistenceManagerFactory void setTransactionType( String name ) Sets the TransactionType for this PersistenceManagerFactory. Permitted values are "JTA" and "RESOURCE_LOCAL". This has the same 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