ObjectDB Database Search

51-100 of 200 results

Glassfish 4 AbstractMethodError: com.objectdb.jpa.EMF.createEntityManager

/persistence/EntityManager; at com.sun.ejb. containers .EJBContainerTransactionManager.checkExceptionClientTx(EJBContainerTransactionManager.java:665) at com.sun.ejb. containers .EJBContainerTransactionManager.postInvokeTx(EJBContainerTransactionManager.java:507) at com.sun.ejb. containers .BaseContainer

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

Duplicate Entity class names causes Exception in Query

(EJBSecurityManager.java:1124) at com.sun.ejb. containers .BaseContainer.invokeBeanMethod(BaseContainer.java:5367) at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:619) at com.sun.ejb. containers ... .proceed(EjbInvocation.java:571) at com.sun.ejb. containers .interceptors.SystemInterceptorProxy

Add class to objectdb ?

.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) at java.awt

Unable to execute update query

.processEvent(Component.java:6300) at java.awt. Container .processEvent( Container .java:2236) at java.awt.Component.dispatchEventImpl(Component.java:4891) at java.awt. Container .dispatchEventImpl( Container ... .LightweightDispatcher.retargetMouseEvent( Container .java:4888) at java.awt.LightweightDispatcher.processMouseEvent

jakarta.persistence.ManyToMany

. The ManyToMany annotation may be used within an embeddable class contained within an entity class ... containing the embeddable class is the owner of the relationship, the non-owning side must use

jakarta.persistence.Convert

to the specified attribute of the embeddable instances contained in the collection a map collection ... to the keys or values of the map, or to the specified attribute of the embeddable instances contained

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

Date field Index is corrupted due to time change

change during the life of the system as it is large enough to contain all objects we ever want ... messages indicate that this order was broken in several BTrees (apparently BTrees that contain time based ... should fix this issue. support Support Thank you for making a build that contains the fix available

Object DB vs EclipseLink/TopLink: Unloaded relationships in detached entities

of the container , and then in ObjectDB (but not in EclipseLink) lazy loading fails. The 3 possible ... .objectdb.com/tutorial/jpa/ee  are too simplistic (do not even contain any relationships) and do not ... only once, and not in any way related to extended EntityManager or persistence context. - " container detached

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.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

version 2.4.5+ with GlassFish 3.1.2, errors when runs application. Version 2.4.4 worked but not 2.4.5 or later

. But 2.4.4 worked javax.ejb.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

Unexpected exception (Error 990) - NullPointerException

.objectdb.jpa.EMImpl.merge(EMImpl.java:514) at com.sun.enterprise. container .common.impl ... .invoke(EJBSecurityManager.java:1153) at com.sun.ejb. containers .BaseContainer.invokeBeanMethod ... .ejb. containers .interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:822) at com.sun