ObjectDB Database Search

101-150 of 200 results

Trouble bug on explorer

:3321) at java.awt.Component.processEvent(Component.java:6270) at java.awt. Container .processEvent( Container .java:2229) at java.awt.Component.dispatchEventImpl(Component.java:4861) at java.awt. Container .dispatchEventImpl( Container .java:2287) at java.awt.Component.dispatchEvent(Component.java:4687

Guessbook tutorial: Java EE 6 JPA Tutorial - Maven Project

.EJBException at com.sun.ejb. containers .BaseContainer.processSystemException(BaseContainer.java:5215) at com.sun.ejb. containers .BaseContainer.completeNewTx(BaseContainer.java:5113) at com.sun.ejb. containers .BaseContainer.postInvokeTx(BaseContainer.java:4901) at com.sun.ejb. containers .BaseContainer

newbie - lots of exeptions

.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1124) at com.sun.ejb. containers ... (EjbInvocation.java:619) at com.sun.ejb. containers .interceptors.AroundInvokeChainImpl.invokeNext ... (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at com.sun.ejb. containers

UTF Error

) WARNING: javax.ejb.EJBException: Error reading UTF string at com.sun.ejb. containers .EJBContainerTransactionManager.processSystemException(EJBContainerTransactionManager.java:723) at com.sun.ejb. containers ... . containers .EJBContainerTransactionManager.postInvokeTx(EJBContainerTransactionManager.java:482

Conflicting modifiers .... (javax.persistence.Id, javax.persistence.ManyToOne)

I have two classes a Container type class and another class that is ' contained ' by that class. The contained class, CompoundKeyMapItem, represents an alternate implementation of an object held in a Map, and uses a Compound Primary Key. The contained class therefore uses an @IdClass. This all works

Should derived fields of an EmbeddedId be manually maintained by app code?

me what to expect. I have a container class EContainer that is reponsible for maintaining a "map" of items ... , contains a field, "cont", that is derived from ECompoundKeyMapItem's container field via the @MapsId ... "ECompoundKeyMapSubItemId" class, which contains a field "prnt" which is derived from ECompoundKeyMapSubItem's

AnnotationRef jakarta.persistence.PersistenceProperty

JPA Annotation PersistenceProperty Implemented Interfaces: Annotation Describes a single container or persistence provider property. Used in PersistenceContext . Vendor specific properties may be included in the set of properties, and are passed to the persistence provider by the container

InterfaceRef jakarta.persistence.PersistenceUnitUtil

attribute of an entity belonging to the persistence unit. Parameters: entity - entity instance containing ... - entity instance containing the attribute attributeName - name of attribute whose load state

EnumRef jakarta.persistence.metamodel.Bindable$BindableType

containing the constants of this enum type, in the order they are declared. This method may be used ... ()) System.out.println(c); Return: an array containing the constants of this enum type, in the order

EnumRef jakarta.persistence.metamodel.Attribute$PersistentAttributeType

() Returns an array containing the constants of this enum type, in the order they are declared. This method ... : Attribute.PersistentAttributeType.values()) System.out.println(c); Return: an array containing

AnnotationRef jakarta.persistence.CollectionTable

contains references to other entities, the default values for the columns corresponding ... of the name of the containing entity and the name of the collection attribute, separated by

AnnotationRef jakarta.persistence.PersistenceContext

JPA Annotation PersistenceContext Target: TYPE, METHOD, FIELD Implemented Interfaces: Annotation Expresses a dependency on a container -managed EntityManager and its associated persistence context ... for the container or persistence provider. Vendor specific properties may be included in this set

ClassRef jakarta.persistence.PersistenceConfiguration

elements of the persistence.xml file. This API may not be used to configure a container -managed ... .JTA , a JTA data source must be provided via () , or by the container

AnnotationRef jakarta.persistence.Convert

is applied to the specified attribute of the embeddable instances contained in the collection a map ... instances contained in the map, or an entity class which extends a plain, to enable or override conversion

AnnotationRef jakarta.persistence.JoinColumn

containing the collection. Default (only applies if single join column is being used): The same name as ... ) The name of the table that contains the column. If a table is not specified, the column is assumed to be in

CriteriaQuery.multiselect(selectionList) - JPA Method

passed to the multiselect method contains only a single element, an instance of type Object ... was created without specifying a type, and the list passed to the multiselect method contains

EnumRef jakarta.persistence.metamodel.Type$PersistenceType

Since: JPA 2.0 Public Static Enum Methods: Type.PersistenceType[] values () Returns an array containing ... ()) System.out.println(c); Return: an array containing the constants of this enum type, in the order

EnumRef jakarta.persistence.metamodel.PluralAttribute$CollectionType

[] values () Returns an array containing the constants of this enum type, in the order ... containing the constants of this enum type, in the order they are declared PluralAttribute.CollectionType

ObjectDB-2.6.9: Failed to commit transaction: Failed to set numeric value of field property Element.id using reflection

.id using reflection (error 363) at com.sun.enterprise. container .common.impl.EntityManagerWrapper ... .security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1153) at com.sun.ejb. containers ... .invokeBeanMethod(EjbInvocation.java:656) at com.sun.ejb. containers .interceptors.AroundInvokeChainImpl.invokeNext

InterfaceRef jakarta.persistence.metamodel.SingularAttribute

JPA Interface 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-valued properties or fields. Since: JPA 2.0 Public

EnumConstRef jakarta.persistence.PessimisticLockScope.EXTENDED

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

InterfaceRef jakarta.persistence.PersistenceUtil

the load state of a given persistent attribute. Parameters: entity - entity containing the attribute

PersistenceUtil.isLoaded(entity,attributeName) - JPA Method

JPA Method in jakarta.persistence.PersistenceUtil boolean isLoaded (   Object entity,    String attributeName ) Determine the load state of a given persistent attribute. Parameters: entity - entity containing the attribute attributeName - name of attribute

PersistenceUnitUtil.isLoaded(entity,attributeName) - JPA Method

containing the attribute attributeName - name of attribute whose load state is to be determined Return

AnnotationRef jakarta.persistence.JoinTable

side of the relationship, the containing entity rather than the embeddable class is considered the owner

AnnotationRef jakarta.persistence.MapKeyJoinColumn

of the table that contains the foreign key column. If the join is for a map key for an element

AnnotationRef jakarta.persistence.AssociationOverride

), AssociationOverride is applied to the field or property containing the embeddable

Subquery.correlate(parentList) - JPA Method

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 Return: subquery join Since: JPA 2.0

Subquery.correlate(parentMap) - JPA Method

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 Return: subquery join Since: JPA 2.0

AnnotationRef jakarta.persistence.OneToOne

the embeddable class to an entity class. If the relationship is bidirectional and the entity containing

AnnotationAttrRef jakarta.persistence.MapKeyColumn.table

JPA Annotation Attribute in jakarta.persistence.MapKeyColumn String table default "" (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

InterfaceRef jakarta.persistence.metamodel.Attribute

JPA Interface Attribute Type Parameters: - The represented type that contains the attribute - The type of the represented attribute Represents an attribute of a Java type. Since: JPA 2.0 Public Methods ManagedType getDeclaringType () Return the managed type representing the type in

AnnotationRef jakarta.persistence.OneToMany

. The OneToMany annotation may be used within an embeddable class contained within an entity class

Subquery.correlate(parentSet) - JPA Method

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 Return: subquery join Since: JPA 2.0

Subquery.correlate(parentCollection) - JPA Method

JPA Method in jakarta.persistence.criteria.Subquery CollectionJoin correlate (    CollectionJoin  parentCollection ) Create a subquery collection join object correlated to a collection join object of the enclosing query. Parameters: parentCollection - join object of the containing query Return: subquery join Since: JPA 2.0

AnnotationAttrRef jakarta.persistence.CollectionTable.name

JPA Annotation Attribute in jakarta.persistence.CollectionTable String name default "" (Optional) The name of the collection table. If not specified, it defaults to the concatenation of the name of the containing entity and the name of the collection attribute, separated by an underscore. Since: JPA 2.0

Subquery.correlate(parentRoot) - JPA Method

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 Return: subquery root Since: JPA 2.0

Subquery.correlate(parentJoin) - JPA Method

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 Return: subquery join Since: JPA 2.0

AnnotationRef jakarta.persistence.MapKeyColumn

that contains the column. Defaults: If the map key is for an element collection, the name

EntityManager.refresh(entity,options) - JPA Method

is not an entity or if the entity is not managed TransactionRequiredException - if invoked on a container

AnnotationRef jakarta.persistence.PersistenceContexts

JPA Annotation PersistenceContexts Target: TYPE Implemented Interfaces: Annotation Declares one or more PersistenceContext annotations. It is used to express a dependency on container -managed entity manager persistence contexts. See Also: PersistenceContext Since: JPA 1.0 Public Annotation

EntityManager.merge(entity) - JPA Method

when invoked on a container -managed entity manager of that is of type {@link PersistenceContextType#TRANSACTION} Since: JPA 1.0

EntityManager.lock(entity,lockMode,options) - JPA Method

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

PersistenceConfiguration.transactionType() - JPA Method

JPA Method in jakarta.persistence.PersistenceConfiguration PersistenceUnitTransactionType transactionType () The plain. If PersistenceUnitTransactionType.JTA , a JTA data source must be provided via () , or by the container . If PersistenceUnitTransactionType.RESOURCE_LOCAL , database connection

EntityManager.persist(entity) - JPA Method

- if there is no transaction when invoked on a container -managed entity manager that is of type {@link PersistenceContextType#TRANSACTION} Since: JPA 1.0

EntityManager.find(entityClass,primaryKey) - JPA Method

JPA Method in jakarta.persistence.EntityManager T find (   Class  entityClass,    Object primaryKey ) Find by primary key. Search for an entity of the specified class and primary key. If the entity instance is contained in the persistence context, it is returned

EntityManager.find(entityClass,primaryKey,options) - JPA Method

to the specified lock type. If the entity instance is contained in the persistence context

EntityManager.remove(entity) - JPA Method

is not an entity or is a detached entity TransactionRequiredException - if invoked on a container

Persistence.generateSchema(persistenceUnitName,map) - JPA Static Method

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

EntityManager.find(entityGraph,primaryKey,options) - JPA Method

type. If the entity instance is contained in the persistence context, it is returned from