About field

forum_thread

Multi part paths in a composite index must have the same length

Hi, I am trying to create some index in a DB - but I get an exception when i try to commit. Exception in thread "main" [ObjectDB 2.6.0_01] javax.persistence.PersistenceException Invalid index path 'tStamp.value / instrumentId' in type Entities.OrderBookNew (error 328) at com.objectdb.jpa.EMImpl.createQuery(EMImpl.java:958)   Here is how the class of the persisted object looks like #1 2015-01-15 03:15 Hi, I am trying to create some index in a DB - but I get an exception when i try to commit. Excepti ...

 
issue

Unexpected error when loading all entity instance

Hi, when going through all entity instance to find orphaned entries we get the exception: ... references using queries (select from <type> where field=<instance>) 3. Load the next 10.000 instance and start over ...

 
forum_thread

IMK Stall with certain query

Hello, I am experiencing constant IMK Stall notifications from Java when using certain query: 2015-09-01 16:53:15.785 java[3678:5217999] IMK Stall detected, *please Report* your user scenario in <rdar://problem/16792073> - (imkxpc_deadKeyStateWithReply:) block performed very slowly (4.63 secs) i am sure it is linked with objectdb as these are thrown each time one particular query is used: #1 2015-09-01 15:04 Hello, I am experiencing constant IMK Stall notifications from Java when using certain query: ...

 
issue

ObjectDB enhancement fails on "is" form for @Transient boolean isLoaded(), ok for "getter" form @Transient boolean getLoaded()

Older objectdb-2.4.0_06, Java6. For the following (note the use of "is" form) in a class Element I encounter ObjectDB enhancement errors: Bug Version: 2.4.0 Priority: Normal Status: Fixed Replies: 1 Type:  Bug ...

 
issue

ClassCastException thrown when running count query

Hello! Attached you find a full stacktrace. The query was: Bug Version: Priority: Normal Status: Fixed Replies: 6 Type:  Bug ...

 
issue

InternalException

Hi, 3 Days before our rollout.. We've just got this when trying to commit persist of a bunch of entities into the DB   Bug Version: 2.4.0 Priority: Normal Status: Closed Replies: 2 Type:  Bug ...

 
forum_thread

turn off auto-serialization

Hi    As far as I understand if you have a classe that implements Serializable and is referenced by an Entity it will be automatically stored using standard serialization mechanizm.  Is there any option to turn off that feature so that if an un-enhanced (Serializable) class is referenced an error will be printed ??   Thanks in advance b ... any preStore callback or listener so I could not check field structure and I'm unable to change for example instance of Class into ...

 
tutorial

Step 3: Define an EJB Session Bean

Explains how to define an EJB session bean in a NetBeans Java EE web application.... automatically and injects it into the  em field (because it is annotated with the  @PersistenceContext ...

 
forum_thread

A bidirectional OneToOne association with a shared primary key

Hi, In Hibernate, it is possible (using Hibernate specific annotations) to define a bidirectional @OneToOne association that has a shared primary key, example: http://fruzenshtein.com/bidirectional-one-to-one-primary-key-association/ ... is more common, and you may want to set an index on the field to accelerate traversing in the other direction. ...

 
tutorial

Step 3: Define an EJB Session Bean

Explains how to define an EJB session bean in an Eclipse Java EE 6 web application.... automatically and injects it into the em field (because it is annotated with the @PersistenceContext annotation). ...