ObjectDB Database Search

151-200 of 200 results

Exception on creation when running multithreaded

Hi, I'm trying to test the creation of an object from my datamodel(Organisation) and the creation ... transaction. The process is as followed: 1. The organisation gets created 2 . The acl is being searched ... the of the creations fail with the following exception:   [ObjectDB 2 . 2 .8_07] javax.persistence

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

:-2962887009206123121) [2015-06-08 13:07:02 # 2 type] Type com.btc.ep.requirement.bl.internal ... .RequirementReferenceImpl is not enhanced. We understand the reason of the messages # 2 and #4 "Type ...  ... (both large web app project and dedicated ObjectDB test projects) since trying objectdb- 2 .6.6_07

General Performance Issues Illustrated with a Specific Method

Cloud HIMS is a JSF/JPA (EclipseLink 2 .3)/MySQL application designed to capture data in Health ... ); return hash; } @Override public boolean equals( Object object ) { if (!( object instanceof Client)) { return false; } Client other = (Client) object ; if ((this.id == null && other.id != null) || (this.id

explorer NullPointerException

.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98) at java.awt.EventQueue$ 2 .run(EventQueue.java:621) at java.awt.EventQueue$ 2 .run(EventQueue.java:619) at java.security ... sp3 32bit objectdb- 2 .4.0. I change environment to other computers,such as windows 2000,oracle jre-7u4

zip file or JAR manifest missing

thread "main" [ObjectDB 2 . 2 .5] javax.persistence.PersistenceException Type ItemList is not found ... .objectdb.o.QRR.b(QRR.java:143) at com.objectdb.jpa.JpaQuery.getSingleResult(JpaQuery.java:613) ... 2 ... i where i.taskid=?1 and i.itemname = ? 2 "; Query q2 = em.createQuery(sQ2); q2.setParameter(1, iTask

problem with lazy loading - unittest project attached

4 requests 1. save entity 2 . read an existing entity, add onetomany relation 3. read an existing ... , one entity with 2 related entities. if i use EAGER the test pass, if not the related entity list is empty ... (ReflectiveCallable.java:15) [junit-4.8. 2 .jar:na] at org.springframework.test.context.junit4

Missing Data on Retrieval (0, null values)

I try  to export all Objects in an Flatfile-Hiearchy (.csv). But only the first exported Table contains all necessary Data. Most of the others  contains all   Object -Rows ... match between the two Resultlists Tested with  Version 2 .6.7 and 2 .4.5  - same behaviour

Update Entity references if we change the type of an entity

.", but in your example there are 3 objects in the same type hierarchy with the same id # 2 . Unfortunately this is the best solution we can offer now. support Support There are 3 objects with ID # 2 ... Embedded Systems AG btc_es BTC EmbeddedSystems References to entity objects are implemented by ObjectDB

Mismatch client-server protocol prefix

:757) I checked multiple times if the versions match. They do. DB server version 2 .6. 2 . Client version 2 .6. 2 . Also there's only one objectdb jar on the classpath. It's also not a network problem ... ("uname", unitName);         Object result = null;   

Pessimistic Lock Timeouts setting

.lock.timeout ) was just added in build 2 . 2 .3_02. Please check the documentation and try it. support ... to update object com.x.y.z.ProductCodeTracking:1 - locked by another owner (error 672) And finally ... you for the update. support Support Hi. I am using Objectdb version 2 .3.7_01. I am developing a test program

Optimistic locking: prevent version increment on entity collection attribute

. Could you please explain the reason for avoiding this object version update? support Support Thank ... (readings != null);     assertTrue(readings.size() == 2 ); }     oudjanef Farid ... . Actually clear detaches managed objects and could make things harder in this case. I have tried

find() cost unreasonable time!

, why? Result: =========== find time @ 24.125000 getSons time @ 0.000000 1 : type:Nodes, sons: 2 child : 2 child : 3 Iterator time @ 0.000000 find time @ 0.000000 getSons time @ 0.000000 2 : type:Nodes, sons: 2 child : 4 child : 5 Iterator time @ 0.000000 find time @ 0.000000 getSons time @ 0.000000 3

Guestbook example from tutorial does not work.

.TomEERuntimeException: org.apache.openejb.OpenEJBException: Creating application failed: /objectdb- 2 .6. 2 ... you for your quick reply. But thats a maven example. If i place the object -jee.jar to th /Web-inf/lib directory it works. Another alternative is to place the object -jee.jar to /tomcat/lib/ dir. Didn´t

Java 8 Enhancer Problem

.merge(EMImpl.java:518) Inserting new objects works. Also merging ones created after the update to 2 .5 ... . Regards Ralph   mosi0815 Ralph Moser Thank you for this report. Please check if  build 2 .5.5_01 fixes this issue. support Support Build 2 .5.5_01 fixes this issue but it has a new bug. When I

Failed to commit transaction: Attempt to commit a rollback only transaction

, leading to the above problem.   note: I have 2 processes hitting the same database ... , running the doctor, shows this: Missing Objects (Broken References) ----------------------------------- [1] mr.model.MRRound(10):210 Referenced by:   - mr.model.MRAuction(13):211 [ 2 ] mr.model

Extended mapping-definitions

The described feature is not available in any object -db I know, but possible with mapping ... and 2 .) not all classes are known at project start (an editor). To deal with especially the 2 ... for the name of the class. Now this leads to the following problem: By default a Java object gets

EntityManager.merge gives EntityNotFoundException

Just started using objectdb ( 2 .3.4). Calling EntityManager.merge for a new (non-managed) object ... for your assistance. Full error output is: Exception in thread "main" [ObjectDB 2 .3.4] javax.persistence ... managed (new) entity objects has to be supported in this case. Till now it was supported only for new non

Problem with queries on lists with reverse mapping

Hi, In version 2 .4. 2 , when an object in a list is reversed mapped to the owning object , queries are returning objects of types that were not specified in the query. In the attached example the last test fails because the query returns both TeamA and TeamB objects where only TeamA was specified in

Join query problem with new statetment

an embeddable class to entity class, which results in having a class with mixed objects in the database - the old embeddable objects and the new entity objects . For more precise diagnosis - please post ... slow - that is expected, because of some high number of objects to download. I forget to mention in

IDs of Entities suddenly became UUIDs?

Hi, We're having our system with ObjectDB 2 .4.5 in production since this year April and it works just fine. However, now we've discovered that suddenly partial Objects in some DBs in production ... : @Id @GeneratedId private Long myId; This has always been working, however, suddenly partial Objects in

Speeding up reporting queries with size() on list

should include activity on last modified objects . The query for now looks like this: select date(insp ... field in Inspiration entity. insp.products is a list with 0 to 600 objects . Definition: @ManyToMany ... sec and 2 .8 sec. On 'hot' db file  without query result in cache, execution time is between

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

; The attempted PK value to be re-used was '1', but the actual last object created has an id of 168,000. I've inserted 168,000 objects of dummy data with an importer. A subsequent 'submit ... : 2 . 2 .8_05 Willks William This might be related to a bug that was fixed in build 2 . 2 .8_06. Please check that new build. support Support

Jboss 6 persistence.xml startup error

: Specification violation [EJB3 JPA 6. 2 .1. 2 ] - You have not defined a jta-data-source for a JTA enabled ... . (PersistenceUnitInfoImpl.java:124) [: 2 .0.0] I have followed the examples also - but none refer to the jta ... that was just released ( 2 . 2 .0_03) fixes the main problems and seems to work well with JBoss AS 6.0

jakarta.persistence.Enumerated

(), java.lang.annotation.Annotation/equals( Object ), java.lang.annotation.Annotation/hashCode(), java.lang.annotation.Annotation/toString()

jakarta.persistence.ExcludeDefaultListeners

.Annotation/equals( Object ), java.lang.annotation.Annotation/hashCode(), java.lang.annotation.Annotation/toString()

ArrayIndexOutOfBoundsException on flush

at this point is performing a delete query for all entity objects that the database contains: EntityManager em ... like some of the "WorkflowInstance" objects have failed to persist (explorer lists an exception message rather than the object ). The following error message from my application monitor

jakarta.persistence.ConnectionConsumer

EntityManager.runWithConnection(ConnectionConsumer) Since: Jakarta Persistence (JPA) 3. 2 Public Instance

jakarta.persistence.ConnectionFunction

EntityManager.callWithConnection(ConnectionFunction) Since: Jakarta Persistence (JPA) 3. 2 Public

combined index not used

the results of step 1e retaining only results that satisfy: (a.type=0). Step 2 : Process ObjectNode ... ---------------------------- Retrieve fields in ObjectNode (v$1) instances. Step 4: Process ObjectNode (v$ 2 ) instances ... ObjectNode (v$ 2 ) instances that satisfy: and(and((v$ 2 .objectNameUpper='SETUP'),(v$ 2 .classIdentifier='(TC

javax.servlet.ServletException: Annotated methods must follow the JavaBeans naming convention. __odbHidden_getPropertyName

;Glassfish3.0.1 objectdb- 2 . 2 .5_10 JavaEE6 web app The error reports as: javax.servlet.ServletException ... object via a @Stateless facade session bean using em.find(entityClass, id). The strange thing ... to something like getOdbHidden can solve the problem. Please try build 2 . 2 .6_01 that tries exactly

jakarta.persistence.criteria.AbstractQuery.getResultType()

the createTupleQuery method, the result type is Tuple . Otherwise, the result type is Object . Returns: result type. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.Bindable.getBindableType()

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.Bindable BindableType getBindableType() Return the bindable type of the represented object . Returns: bindable type. Since: Jakarta Persistence (JPA) 1.0

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

above, but instead of a modified embedded object we have an embedded collection. Build 2 .6.1_02 ... . [ObjectDB 2 .6.0_04] Unexpected exception (Error 990) Generated by Java HotSpot(TM) 64-Bit Server ... EmbeddedSystems We get he same exception (same stack trace) with the newer Version 2 .6.1. btc_es

jakarta.persistence.criteria.CriteriaBuilder.union(CriteriaSelect,CriteriaSelect)

of the results of the given queries. Since: Jakarta Persistence (JPA) 3. 2

jakarta.persistence.criteria.CriteriaBuilder.unionAll(CriteriaSelect,CriteriaSelect)

criteria query which returns the union of the results of the given queries. Since: Jakarta Persistence (JPA) 3. 2

jakarta.persistence.criteria.CriteriaBuilder.intersect(CriteriaSelect,CriteriaSelect)

the intersection of the results of the given queries. Since: Jakarta Persistence (JPA) 3. 2

jakarta.persistence.criteria.CriteriaBuilder.intersectAll(CriteriaSelect,CriteriaSelect)

: a new criteria query which returns the intersection of the results of the given queries. Since: Jakarta Persistence (JPA) 3. 2

jakarta.persistence.PersistenceContext.synchronization

: SynchronizationType.SYNCHRONIZED Since: Jakarta Persistence (JPA) 2 .1

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

if entity's state has not been loaded or if the attribute state has not been loaded, else true. Since: Jakarta Persistence (JPA) 3. 2

jakarta.persistence.metamodel.Metamodel.entity(String)

: IllegalArgumentException - if not an entity. See Also: jakarta.persistence.Entity.name Since: Jakarta Persistence (JPA) 3. 2

jakarta.persistence.criteria.CriteriaBuilder.tuple(List)

: IllegalArgumentException - if an argument is a tuple- or array-valued selection item. Since: Jakarta Persistence (JPA) 3. 2

jakarta.persistence.criteria.CriteriaBuilder.array(List)

: IllegalArgumentException - if an argument is a tuple- or array-valued selection item. Since: Jakarta Persistence (JPA) 3. 2

jakarta.persistence.criteria.CriteriaBuilder.asc(Expression,Nulls)

nullPrecedence - the precedence of null values Returns: ascending ordering corresponding to the expression. Since: Jakarta Persistence (JPA) 3. 2

jakarta.persistence.criteria.CriteriaBuilder.desc(Expression,Nulls)

nullPrecedence - the precedence of null values Returns: descending ordering corresponding to the expression. Since: Jakarta Persistence (JPA) 3. 2

jakarta.persistence.TypedQuery.setCacheRetrieveMode(CacheRetrieveMode)

the entity manager. Parameters: cacheRetrieveMode - cache retrieval mode Returns: the same query instance. Since: Jakarta Persistence (JPA) 3. 2

jakarta.persistence.TypedQuery.setCacheStoreMode(CacheStoreMode)

. Parameters: cacheStoreMode - cache storage mode Returns: the same query instance. Since: Jakarta Persistence (JPA) 3. 2

jakarta.persistence.TypedQuery.setTimeout(Integer)

milliseconds, or null to indicate no timeout Returns: the same query instance. Since: Jakarta Persistence (JPA) 3. 2

jakarta.persistence.UniqueConstraint.options

Jakarta Persistence (JPA) Method in jakarta.persistence.UniqueConstraint String options (Optional) A SQL fragment appended to the generated DDL which creates this constraint. Default: "" Since: Jakarta Persistence (JPA) 3. 2

com.objectdb.o.InternalException NPE

[ObjectDB 2 . 2 .9_10] Unexpected exception (Error 990)   Generated by Java HotSpot(TM) 64-Bit ... : [ObjectDB 2 . 2 .9_08] Unexpected exception (Error 990) Generated by Java HotSpot(TM) 64-Bit Server VM 1.6 ... navigation through a broken reference (probably a reference to a deleted object ) during query execution

Remove of an entry from a @OneToMany collection is not possible if the enhancer is disabled

. Any change to entity objects after flush is not detected, as demonstrated by a simpler test case ... .flush();         e.x = 2 ; // not detected if class is not enhanced ... );         Assert.assertEquals( 2 , e.x);