About Persistence Context

51-60 of 200Refresh
JPA Doc
13

javax.persistence.EnumType

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

javax.persistence.spi.PersistenceProviderResolverHolder

javax.persistence.spi Class PersistenceProviderResolverHolder java.lang.Object javax.persistence.spi.PersistenceProviderResolverHolder Holds the global javax.persistence.spi ... getPersistenceProviderResolver() Returns the current persistence provider resolver. Returns the current persistence provider
JPA Doc
13

javax.persistence.EntityExistsException

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

javax.persistence.PessimisticLockScope

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

javax.persistence.Query

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
JPA Doc
13

javax.persistence.CascadeType

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

javax.persistence.NamedQuery

javax.persistence Annotation NamedQuery Target: Classes Specifies a static, named query in the Java Persistence query language. Query names are scoped to the persistence unit. The NamedQuery ... of a named query in the Java Persistence query language: @NamedQuery( name
Forum
13

javax.persistence.PersistenceException: No Persistence provider for EntityManager named in Karaf 4.0.7 and OSGi DS test

to persist an entity into an ObjectDB database. I'm working in C/S model and I have both the ObjectDB server and Karaf running on localhost. When I try to persist the entity I'm getting the  javax.persistence.PersistenceException: No Persistence provider for EntityManager named objectdb://localhost:6136
JPA Doc
13

javax.persistence.Basic

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
JPA Doc
13

javax.persistence.Column

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