ObjectDB ObjectDB

Internal Website Search

61-70 of 200 resultsRefresh

JBOSS AS7 7.1.1 - Entity not persisted and createNamedQuery fire exception

"> <persistence-unit name="guest-pu" transaction-type="JTA">      <description>ObjectDB Persistence Unit ... > </persistence-unit> </persistence> clicker clicker I noticed that by changing the PersistenceContext ... java.util.List; import javax.ejb.Stateless; import javax.persistence.EntityManager; import javax


javax.persistence Enum EnumType java.lang.Object java.lang.Enum<javax.persistence.EnumType> javax.persistence.EnumType Implemented Interfaces: Serializable, Comparable<EnumType> Defines mapping for enumerated types. The constants of this enumerated type specify how a persistent


javax.persistence Enum PersistenceContextType java.lang.Object java.lang.Enum<javax.persistence.PersistenceContextType> javax.persistence.PersistenceContextType Implemented Interfaces ... persistence context is to be used in PersistenceContext. If not specified, a transaction-scoped


javax.persistence Enum PessimisticLockScope java.lang.Object java.lang.Enum<javax.persistence.PessimisticLockScope> javax.persistence.PessimisticLockScope Implemented Interfaces: Serializable, Comparable<PessimisticLockScope> Defines the values of the javax.persistence.lock.scope


javax.persistence Exception EntityExistsException java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException javax.persistence.PersistenceException javax.persistence.EntityExistsException Implemented Interfaces


javax.persistence Interface Query Subinterfaces: TypedQuery Interface used to control query ... : IllegalStateException - if called for a Java Persistence query language SELECT statement or for a criteria ... : IllegalStateException - if the query is found not to be a Java Persistence query language SELECT query or


javax.persistence Enum CascadeType java.lang.Object java.lang.Enum<javax.persistence.CascadeType> javax.persistence.CascadeType Implemented Interfaces: Serializable, Comparable ... cascade=ALL is equivalent to cascade={PERSIST, MERGE, REMOVE, REFRESH, DETACH}. Since: JPA 1.0


javax.persistence Enum LockModeType java.lang.Object java.lang.Enum<javax.persistence.LockModeType> javax.persistence.LockModeType Implemented Interfaces: Serializable, Comparable ... .persistence.EntityManager methods that take locks ( lock, find, or refresh) or to the Query


javax.persistence Annotation Basic Target: Fields (including property get methods) The simplest type of mapping to a database column. The Basic annotation can be applied to a persistent property or ... other type that implements java.io.Serializable. The use of the Basic annotation is optional for persistent


javax.persistence Annotation Column Target: Fields (including property get methods) Is used to specify the mapped column for a persistent property or field. If no Column annotation is specified ... ) Whether the column is included in SQL INSERT statements generated by the persistence provider. (Optional

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