ObjectDB ObjectDB

Internal Website Search

1-10 of 14 resultsRefresh
104

javax.persistence.PersistenceUnits

javax.persistence Annotation PersistenceUnits Target: Classes Declares one or more PersistenceUnit annotations. Since: JPA 1.0 PersistenceUnit[] value (Required) One or more PersistenceUnit annotations. (Required) One or more PersistenceUnit annotations. Since: JPA 1.0
100

PersistenceUnits.value

Annotation Element javax.persistence.PersistenceUnits PersistenceUnit[] value (Required) One or more PersistenceUnit annotations. Since: JPA 1.0
94

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
94

PersistenceUnit.name

Annotation Element javax.persistence.PersistenceUnit String name (Optional) The name by which the entity manager factory is to be accessed in the environment referencing context; not needed when dependency injection is used. Default value: "" Since: JPA 1.0
94

PersistenceUnit.unitName

Annotation Element javax.persistence.PersistenceUnit String unitName (Optional) The name of the persistence unit as defined in the persistence.xml file. If specified, the persistence unit for the entity manager factory that is accessible in JNDI must have the same name. Default value: "" Since: JPA 1.0
19

@OneToMany(fetch = FetchType.LAZY) list is always null

when using EAGER loading, but when I use LAZY with PersistenceUnit (not EntityManagerFactory), it fails ... LAZY with PersistenceUnit (not EntityManagerFactory), it fails. The no-detach option is currently not
19

JBoss 7 startup fails

dependencies" => ["jboss.persistenceunit.\"Guestbook_Jee.war#GuestbookPU\" missing [ jboss.data-source ... step-2" => {"Services with missing/unavailable dependencies" => ["jboss.persistenceunit.\"Guestbook
13

Java 8 Enhancer Problem

.jpa.persistenceunit.ClassFileTransformerAdapter.transform(ClassFileTransformerAdapter.java:57
13

Cannot save or update entity on Spring App

: @PersistenceUnit(unitName="pu") EntityManagerFactory entityManagerFactory; // Stores a new guest
13

Spring 2.5 LocalContainerEntityManagerFactoryBean, no getSharedCacheMode()

trace I get: Caused by: java.lang.AbstractMethodError: org.springframework.orm.jpa.persistenceunit

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