ObjectDB Database Search

101-150 of 200 results

system exception occurred during an invocation on EJB GuestDao

() 2014-09-01T19:09:01.324+0200|Avertissement: javax.ejb.EJBException at com.sun.ejb. containers ... .ejb. containers .EJBContainerTransactionManager.completeNewTx(EJBContainerTransactionManager.java:698) at com.sun.ejb. containers .EJBContainerTransactionManager.postInvokeTx

jakarta.persistence.PersistenceContext

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.PersistenceContext Implemented Interfaces: Annotation Target: Type, Method, Field Expresses a dependency on a container -managed ... ) 2.1 PersistenceProperty[] properties (Optional) Properties for the container or persistence provider

jakarta.persistence.PessimisticLockScope.NORMAL

for which the locked entity contains the foreign key will also be locked, but not the state ... and relationships for which the entity does not contain the foreign key (such as relationships that are mapped to join tables or unidirectional one-to-many relationships for which the target entity contains

jakarta.persistence.criteria.CriteriaQuery.multiselect(List)

, and the list passed to the multiselect method contains only a single element, an instance of type ... contains more than one element, an instance of type Object[] will be instantiated and returned for each

jakarta.persistence.PersistenceUtil

whose load state is to be determined entity - entity containing the attribute Returns: false if entity's

jakarta.persistence.JoinTable

a relationship with an embeddable class on the owning side of the relationship, the containing entity

jakarta.persistence.InheritanceType

class in the hierarchy has its own table, but that table does not contain columns mapped

jakarta.persistence.MapKeyColumn

String table (Optional) The name of the table that contains the column. Defaults: If the map key

jakarta.persistence.MapKeyJoinColumn

that contains the foreign key column. If the join is for a map key for an element collection, the foreign key

jakarta.persistence.metamodel.Attribute

Jakarta Persistence (JPA) Interface jakarta.persistence.metamodel.Attribute Type Parameters: - The type of the represented attribute - The represented type that contains the attribute Represents an attribute of a Java type. Since: Jakarta Persistence (JPA) 2.0 Public Instance Methods ManagedType

jakarta.persistence.metamodel.SingularAttribute

Jakarta Persistence (JPA) Interface jakarta.persistence.metamodel.SingularAttribute Type Parameters: - The type containing the represented attribute - The type of the represented attribute Super Interfaces: Attribute , Bindable Instances of the type SingularAttribute represents persistent single

jakarta.persistence.criteria.CriteriaBuilder

is contained in a list of values. Parameters: expression - to be tested against list of values Returns: in

jakarta.persistence.AttributeOverride

). May be applied to an element collection containing instances of an embeddable class or to a map

jakarta.persistence.AssociationOverride

containing the embeddable. When AssociationOverride is used to override a relationship mapping from

jakarta.persistence.Column

(Optional) The name of the table that contains the column. If absent the column is assumed to be in

jakarta.persistence.NamedSubgraph

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.NamedSubgraph Implemented Interfaces: Annotation A NamedSubgraph is a member element of a NamedEntityGraph . The NamedSubgraph is only referenced from within its containing NamedEntityGraph and cannot be referenced independently

jakarta.persistence.OneToOne

is bidirectional and the entity containing the embeddable class is on the owning

jakarta.persistence.OneToMany

within an embeddable class contained within an entity class to specify a relationship to a collection of entities

jakarta.persistence.PersistenceContexts

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.PersistenceContexts Implemented Interfaces: Annotation Target: Type Declares one or more PersistenceContext annotations. It is used to express a dependency on container -managed entity manager persistence contexts

objectdb-2.6.9_06: Extended Persistence Context fails: 'Attempt to begin a new transaction when a transaction is active'

transaction when a transaction is active at com.sun.ejb. containers .BaseContainer.preInvoke(BaseContainer.java:2004) at com.sun.ejb. containers .EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:210) at com.sun.ejb. containers .EJBLocalObjectInvocationHandlerDelegate.invoke

jakarta.persistence.PersistenceConfiguration.transactionType()

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceConfiguration PersistenceUnitTransactionType transactionType() The transaction type . If PersistenceUnitTransactionType.JTA , a JTA data source must be provided via PersistenceConfiguration.jtaDataSource , or by the container

jakarta.persistence.PersistenceContext.properties

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceContext PersistenceProperty[] properties (Optional) Properties for the container or persistence provider. Vendor specific properties may be included in this set of properties. Properties that are not recognized by a vendor

jakarta.persistence.PersistenceUnitUtil.isLoaded(Object,String)

of attribute whose load state is to be determined entity - entity instance containing the attribute

jakarta.persistence.PersistenceUnitUtil.isLoaded(E,Attribute)

whose load state is to be determined entity - entity instance containing the attribute Returns: false

jakarta.persistence.criteria.Subquery.correlate(Root)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Subquery Root correlate (    Root parentRoot ) Create a subquery root correlated to a root of the enclosing query. Parameters: parentRoot - a root of the containing query Returns: subquery root. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.Subquery.correlate(Join)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Subquery Join correlate (    Join parentJoin ) Create a subquery join object correlated to a join object of the enclosing query. Parameters: parentJoin - join object of the containing query Returns: subquery join. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.Subquery.correlate(CollectionJoin)

of the containing query Returns: subquery join. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.Subquery.correlate(SetJoin)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Subquery SetJoin correlate (    SetJoin parentSet ) Create a subquery set join object correlated to a set join object of the enclosing query. Parameters: parentSet - join object of the containing query Returns: subquery join. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.Subquery.correlate(ListJoin)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Subquery ListJoin correlate (    ListJoin parentList ) Create a subquery list join object correlated to a list join object of the enclosing query. Parameters: parentList - join object of the containing query Returns: subquery join. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.Subquery.correlate(MapJoin)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Subquery MapJoin correlate (    MapJoin parentMap ) Create a subquery map join object correlated to a map join object of the enclosing query. Parameters: parentMap - join object of the containing query Returns: subquery join. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PessimisticLockScope.EXTENDED

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.PessimisticLockScope EXTENDED In addition to the locking behavior specified for PessimisticLockScope.NORMAL , element collections and relationships owned by the entity that are contained in join tables are locked if the property

jakarta.persistence.EntityManagerFactory.getNamedQueries(Class)

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManagerFactory Map getNamedQueries (    Class resultType ) Type Parameters: - the specified upper bound on the query result types A map keyed by query name , containing references to every named query whose result type

jakarta.persistence.EntityManagerFactory.getNamedEntityGraphs(Class)

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManagerFactory Map getNamedEntityGraphs (    Class entityType ) Type Parameters: - the specified upper bound on the entity graph types A map keyed by graph name , containing every named entity graph whose entity type

jakarta.persistence.EntityManager.close()

. Throws: IllegalStateException - if the entity manager is container -managed. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.EntityManager.lock(Object,LockModeType,LockOption...)

the specified options . If a pessimistic lock mode type is specified and the entity contains a version

jakarta.persistence.EntityManager.refresh(Object)

- if there is no transaction when invoked on a container -managed entity manager of type PersistenceContextType.TRANSACTION . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.EntityManager.refresh(Object,Map)

- if there is no transaction when invoked on a container -managed entity manager of type

jakarta.persistence.EntityManager.refresh(Object,LockModeType)

call is made. TransactionRequiredException - if invoked on a container -managed entity manager of type

jakarta.persistence.EntityManager.setFlushMode(FlushModeType)

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager void setFlushMode (    FlushModeType flushMode ) Set the flush mode that applies to all objects contained in the persistence context. Parameters: flushMode - flush mode Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.EntityManager.getFlushMode()

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager FlushModeType getFlushMode() Get the flush mode that applies to all objects contained in the persistence context. Returns: the current FlushModeType . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.EntityManager.lock(Object,LockModeType)

and the entity contains a version attribute, the persistence provider must also perform optimistic version

jakarta.persistence.EntityManager.lock(Object,LockModeType,Map)

properties. If a pessimistic lock mode type is specified and the entity contains a version attribute

jakarta.persistence.EntityManager.refresh(Object,LockModeType,Map)

call is made. TransactionRequiredException - if invoked on a container -managed entity manager of type PersistenceContextType

jakarta.persistence.EntityManager.refresh(Object,RefreshOption...)

call is made. TransactionRequiredException - if invoked on a container -managed entity manager of type PersistenceContextType

jakarta.persistence.InheritanceType.JOINED

does not contain columns mapped to inherited fields or properties, and so the state of an entity

jakarta.persistence.EntityManager.createQuery(String,Class)

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager TypedQuery createQuery (    String qlString ,    Class resultClass ) Create an instance of TypedQuery for executing a Jakarta Persistence query language statement. The select list of the query must contain

jakarta.persistence.EntityManager.createNamedQuery(String,Class)

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager TypedQuery createNamedQuery (    String name ,    Class resultClass ) Create an instance of TypedQuery for executing a Jakarta Persistence query language named query. The select list of the query must contain

jakarta.persistence.Persistence.generateSchema(String,Map)

: persistenceUnitName - the name of the persistence unit map - properties for schema generation; these may also contain

jakarta.persistence.MapKeyColumn.table

Jakarta Persistence (JPA) Method in jakarta.persistence.MapKeyColumn String table (Optional) The name of the table that contains the column. Defaults: If the map key is for an element collection, the name of the collection table for the map value. If the map key is for a OneToMany or ManyToMany

jakarta.persistence.MapKeyJoinColumn.table

Jakarta Persistence (JPA) Method in jakarta.persistence.MapKeyJoinColumn String table (Optional) The name of the table that contains the foreign key column. If the join is for a map key for an element collection, the foreign key column is in the collection table for the map value. If the join