About activation

issue

Post-compile enhancement sometimes causes error in generic loops: incompatible types found: java.lang.Object: required: Entity

I have moved from automatic run-time enhancement to explicit post-compile enhancement in an Ant build.xml in a NetBeans web app, and sometimes on editing a file that performs a generic loops over and @entity type I get a generics error. The loop is:  for (Steel s: this.steelMaterials.getL_Steel().getEls()) { eSteelTableItems.add(asXmlElement(s)); } Where getEls() here gives: List<Steel> This sometimes (only, I don't understand the circumstances) gives this error: Bug Version: 2.4.0 Priority: Normal Status: Active Replies: 2 Type:  Bug ...

 
issue

JPQL support for Maps (JPA 2.0)

JPQL 2.0 introduces the ability define FROM variables for map keys and values. Currently ObjectDB supports FROM variables for collection elements and FROM variables for map keys and values are expected to be supported in future versions. JPA Feature Version: 2.0.0 Priority: Normal Status: Active Replies: 7 Type:  JPA Feature ...

 
issue

StaticMetamodel throws NPE with Spring-Data in PathImpl.get()

From my Entities a StaticMetamodel is generated through Hibernate JPA 2 Metamodel Generator. When i now try to build a query with the Specification-Interface [new Specification<Benutzer>() {            @Override JPA Feature Version: 2.4.1 Priority: Normal Status: Active Replies: 5 Type:  JPA Feature ...

 
issue

JPQL Case Statements (JPA 2.0)

JPQL 2.0 adds support of CASE statements in queries for conditional expressions (similar switch/case/default in Java), following the SQL syntax. Case statements are currently not supported by ObjectDB. JPA Feature Version: 1.04 Priority: Normal Status: Active Replies: 1 Type:  JPA Feature ...

 
forum_thread

Problem to use find method on an abstract Class: AbstractMethodError is thrown

Hi, I'm using JBoss AS 7 WildFly with ObjectDB installed as a module ( also Java 7, Eclipse Juno) In my db there are objects of type SentenceStatement which inherit from type LogicalObject  When I use find method mentioning SentenceStatement everything works just fine but when I use this method mentioning LogicalObject I get AbstractMethodError Please see services.Tester class with the 2 options for a better ease    this is the stack trace when I try to find LogicalObject: #1 2013-10-26 00:17 Hi, I'm using JBoss AS 7 WildFly with ObjectDB installed as a module ( also Java 7, Eclipse Juno) ...

 
issue

No Entity Class API

Both JPA and JDO are based on accessing and managing data in the database using persistable classes (mainly entity classes in JPA or persistence capable classes in JDO). Sometimes, it might be useful to access data without classes. For example, a tool that finds and replaces strings in the database should be generic and should not be bound to specific entity classes and persistent fields. An API for accessing (and maybe also modifying) data in the database without classes can be useful in some applications. Feature Request Version: Priority: Normal Status: Active Replies: 3 Type:  Feature Request ...

 
issue

Monitoring and Performance counters

After checking last patch from build 2.1.1_01, I started to think about some kind o monitoring tools in ODB. Those tools could look similar to MySQL 'show innodb status', where you can get some informations about how DB is doing. It would be nice to monitor: - inserts/s, updates/s, deletes/s, reads/s - total inserts, update, deletes, reads - I/O operations/s - caches current usage - uptime from last start - caches hit rate - total sessions from clients Feature Request Version: 2.5.2 Priority: Normal Status: Active Replies: 2 Type:  Feature Request ...

 
issue

com.objectdb.o.InternalException: java.lang.ArrayIndexOutOfBoundsException: 2

com.objectdb.o.InternalException: java.lang.ArrayIndexOutOfBoundsException: 2 java.lang.ArrayIndexOutOfBoundsException: 2 at com.objectdb.o.UTY.aG(UTY.java:1275) at com.objectdb.o.ENH.b(ENH.java:102) at com.objectdb.o.LDR.J(LDR.java:796) at com.objectdb.o.LDR.UW(LDR.java:1023) at com.objectdb.o.CST.ab(CST.java:478) at com.objectdb.o.CST.U4(CST.java:414) at com.objectdb.o.LDR.F(LDR.java:559) at com.objectdb.o.LDR.E(LDR.java:466) at com.objectdb.o.OBC.UJ(OBC.java:1073) Bug Version: 2.5.3 Priority: Normal Status: Active Replies: 2 Type:  Bug ...

 
issue

Query execution causes an unexpected internal exception (Error 990)

We have the following exception, why our query fails? Bug Version: Priority: Normal Status: Active Replies: 1 Type:  Bug ...

 
issue

JPQL support for mapped by (inverse) collections

As discussed and demonstrated in this forum thread, collection methods (IS EMPTY, SIZE, MEMBER OF, IN) are not supported for mapped by (inverse) collections.   JPA Feature Version: 2.3.7 Priority: Normal Status: Active Replies: 0 Type:  JPA Feature ...