ObjectDB Database Search

101-150 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

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

Closed EntityManagerFactory after upgrading glassfish 3.1.1 to 3.1.2

[]) WARNING: 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. containers

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

A lot of ENT and SIV instances which are not cleared by GC

? I use simple EJB managers containing EntityManagers. On bean's PreDestroy and in servlet's i make ... (TVS.java:93) at com.objectdb.jpa.EMImpl.detach(EMImpl.java:499) at com.sun.enterprise. container ... (EJBSecurityManager.java:1153) at com.sun.ejb. containers .BaseContainer.invokeBeanMethod(BaseContainer.java:4695

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

2.5.3_02: java.lang.UnsupportedOperationException

(EMF.java:517) at com.sun.enterprise. container .common.impl.EntityManagerWrapper._getDelegate(EntityManagerWrapper.java:197) at com.sun.enterprise. container .common.impl.EntityManagerWrapper.createQuery ... .invoke(EJBSecurityManager.java:1153) at com.sun.ejb. containers .BaseContainer.invokeBeanMethod

query on calendar class

. 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.LightweightDispatcher.retargetMouseEvent( Container .java:4832

ClassCastException on SELECT NEW ... after UPDATE over Java RMI

.Component.processEvent(Component.java:6274) 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

com.objectdb.o.InternalException: Unexpected internal exception

.EJBSecurityManager.invoke(EJBSecurityManager.java:1124) at com.sun.ejb. containers .BaseContainer ... ) at com.sun.ejb. containers .interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800) at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:571) at com.sun.ejb. containers

explorer NullPointerException

. Container .processEvent( Container .java:2039) at java.awt.Component.dispatchEventImpl(Component.java:4653) at java.awt. Container .dispatchEventImpl( Container .java:2097) at java.awt.Component.dispatchEvent(Component.java:4481) at java.awt.LightweightDispatcher.retargetMouseEvent( Container .java:4575) at java.awt

java.lang.NullPointerException when using ORDER BY

;   at java.awt. Container .processEvent( Container .java:2229)       ... ;   at java.awt. Container .dispatchEventImpl( Container .java:2287)      ... ;    at java.awt.LightweightDispatcher.retargetMouseEvent( Container .java:4832)  

com.objectdb.o.NLV cannot be cast to com.objectdb.o.CMV

(Component.java:6270)         at java.awt. Container .processEvent( Container .java:2229)         at java.awt.Component.dispatchEventImpl(Component.java:4861)         at java.awt. Container

Dependency from enhanced classes to the objectDB library

. We have create a “small” example based on our OSGi Bundle structure. The example contains 7 eclipse projects ... .base.dal.tests.it” contains a Plug-In Unit test. This test runs only if we allow the usage of not ... .objectdb (2.6.0) to our projects (*.bl and *.bl.impl) is not nice. This projects(bundles) contains

Trouble viewing db in Explorer.

.Component.processEvent(Unknown Source) at java.awt. Container .processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt. Container .dispatchEventImpl(Unknown Source ... .LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt. Container .dispatchEventImpl(Unknown

How to Use a SF with extended Persistence Context?

.Final] at org.jboss.as.jpa. container .ExtendedEntityManager.internalAssociateWithJtaTx(ExtendedEntityManager.java:129) [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final] at org.jboss.as.jpa. container ... .Final] at org.jboss.as.jpa. container .AbstractEntityManager.createQuery(AbstractEntityManager.java:112

Intermittent: "Attempt to reuse an existing primary key value" when persisting a new instance

.JavaEETransactionManagerSimplified.commit(JavaEETransactionManagerSimplified.java:857) at com.sun.ejb. containers .BaseContainer.completeNewTx(BaseContainer.java:5115) at com.sun.ejb. containers .BaseContainer.postInvokeTx(BaseContainer.java:4880) at com.sun.ejb. containers .BaseContainer.postInvoke(BaseContainer.java:2039) at com.sun

Cascading makeTransient

cache should work independently on the DB as if it contained transient objects. However those instances of B contain the field __odbTracker of type com.objectdb.o.EMT, which then holds a reference ... makeTransient(A, true) with a FetchPlan containing FetchGroup with category

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

TemporalType injection with Calendar using JPA

to the HTTP container [ObjectDB 2.2.5_02] javax.persistence.PersistenceException Unexpected argument (com ... . container .servlet.WebComponent.service(WebComponent.java:414) at com.sun.jersey.spi. container .servlet.ServletContainer.service(ServletContainer.java:537) at com.sun.jersey.spi. container .servlet

ObjectDB with JRebel: copious 'Not Enhanced:' errors with EJBs

.EjbOptionalIntfGenerator.loadClass(EjbOptionalIntfGenerator.java:97) at com.sun.ejb. containers .BaseContainer. (BaseContainer.java:753) at com.sun.ejb. containers .StatelessSessionContainer. (StatelessSessionContainer.java:143) at com.sun.ejb. containers .StatelessSessionContainer. (StatelessSessionContainer

Query to search for common elements in two separate collections.

for identical members. Something like: SELECT o FROM Object o WHERE o.someCollection CONTAINS MEMBER ... ? if so, that's not what I was after. I just want to check if a collection contains an element ... retrieving results for matches that contain the element for each iteration

Possible cause for "Enhancement of type ... is old and cannot be used"

.CreateException: Initialization failed for Singleton ReflectionHelper at com.sun.ejb. containers .AbstractSingletonContainer.createSingletonEJB(AbstractSingletonContainer.java:476) at com.sun.ejb. containers .AbstractSingletonContainer.access$000(AbstractSingletonContainer.java:74) at com.sun.ejb. containers

Query can't see recently persisted object

When using container managed transactions (EJB) in Payara 4.1.3 with ObjectDB embedded ... will be found. Clearly I don't want to call flush() on the EntityManager, as I want the container ... consistency of objects persisted within the same container transaction?  @NamedQueries( { @NamedQuery

Unable to convert 1.x odb file to 2.x

any means to the object to be converted another value from Object[] containing 2 String-s converted to Object[] containing null and again an instance of an unrelated class I made screenshots from old ... via some migration to a structure where the value in the map will be a user defined class containing the array. jakab Gergely Jakab

Exception while accessing the Persistence unit ...?

: Unable to retrieve EntityManagerFactory for unitName GuestbookPU at com.sun.enterprise. container .common.impl.EntityManagerWrapper.init(EntityManagerWrapper.java:121) at com.sun.enterprise. container ... . container .common.impl.EntityManagerWrapper.createQuery(EntityManagerWrapper.java:456) at guest

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

Best practise loading big data

MyStepBlockCollection. This contains of 10.000 MyStepBlock objects. Each of these containing 100 MyStep objects. Every MyStep contains a list of 2 MyValue objects. Then we do something like ... ; Here is my debug scenario: I have an existing DB File that contains One single root MyStepBlockCollection

Unexpected exception (Error 990) com.objectdb.o.InternalException

object after garbage collecting of the containing entity object may cause this exception ... .Worker.run(Worker.java:54) The Log file:   (It contains two error ... ) at objectdb.java.util.ArrayList.add(Unknown Source) at com.btc.ep.formalnotation.bl.impl. containers

TYE NullPointerException

LinkedList . The class has a method which throws an exception if this collection doesnt contain a given string, i.e. if(!collection. Contains (somestring)) throw new Exception("Not found"); In tests the exception was being thrown even though the collection should contain the item. Again the object is not

Tracking changes to new collections (in enhancement mode) after flush

. contains (m5); mappings.add(m5 ... .mappingMap.get("M"); mappings. contains (m7); mappings.add(m7 ... "); if (!mappings. contains (m3)) { throw new RuntimeException(); } if (!mappings. contains (m5)) { throw new

ArrayIndexOutOfBoundsException on flush

: rbccm.felix.framework.ApplicationException: Error flushing graph container at rbccm.felix.objectdb ... at this point is performing a delete query for all entity objects that the database contains : EntityManager em ... (); throw new ApplicationException("Error flushing graph container ", e); } finally { em.close(); } I've

Query on primary key is slow when using 'IN'

.ProductVariantStoreData locating ProductVariantStoreData (d) instances that satisfy: and( contains (list('1344763 ... _productVariantOids. contains (this.productVariantOid) && param_storeOids. contains (this.storeOid) I would assume ... parameter is empty; then `param_productVariantOids. contains (this.productVariantOid)` will obviously

again merger missing logs + objectdb exception

) at com.agile.hummingbird.CT_ Container .computeContainer(CT_ Container .java:163) at com.agile ... .getResultList(JpaQuery.java:719) at com.agile.hummingbird.CT_ Container .computeContainer(CT_ Container

Blocked by find

I have a container object which wraps an objectdb database. There is a "putIfAbsent(String id ... database which contains one type of Entity. Access is through an application wrapper object ... of cached pages contains a circle since there are no other apparent reasons. With no test case