About ORDER BY

forum_thread

Fantom

  Hi, so far I've been able to get ObjectDb to persist objects from many JVM languages, eg.: Java/Groovy/Scala/Kotlin. However, I can't seem to get Fantom to work. Anyone tried this yet? Dave     ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ... names) with the code style (can be applied by ctrl + D). Long stack traces (> 50 lines) and complex ...

 
forum_thread

Replicated cluster recovery

If I create a replicated database cluster as per http://www.objectdb.com/java/jpa/tool/replication what is the behaviour of the master database after a failure? For example, say I have MasterDB and SlaveDB in the cluster. If MasterDB goes offline the application will automatically switch to SlaveDB. When MasterDB comes back online it will have missed any activity that occured during the downtime. ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ... names) with the code style (can be applied by ctrl + D). Long stack traces (> 50 lines) and complex ...

 
forum_thread

@OneToMany(fetch = FetchType.LAZY) list is always null

Hello. @OneToMany(fetch = FetchType.LAZY) doesn't work when using EJB or something else related to J2EE. parent.getChildren() returns null. Here is a simple example: Bean: ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ... names) with the code style (can be applied by ctrl + D). Long stack traces (> 50 lines) and complex ...

 
forum_thread

Recursive calls with @PreUpdate annotation and Glassfish OutOfMemoryError

Hi,    I've had an issue that started today and it's got me stumped. I've got a subclass User, which extends a BaseEntity. The BaseEntity has a @PreUpdate as per: ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ... names) with the code style (can be applied by ctrl + D). Long stack traces (> 50 lines) and complex ...

 
forum_thread

Join query problem with new statetment

Hi, I'm trying to implement some reporting logic in my application and got nasty exception when using query with join. The query code is: ... state during query execution. This might be caused by a schema change that is not fully supported. For example - changing an ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ...

 
forum_thread

Replication issue, Replayer failing due to NullPointerException.

I'm getting replication errors and upon trying to play the replayer I get a NullPointerException which i'm also seeing in the slave logs when it's trying to replicate... ... I managed to fix this by copying the contents of $replication into the directory above it(the "data ... This means everytime I restart the DB my DB is growing by resize value across all DB's, this also seems like a bug. I have ...

 
forum_thread

em.flush(); em.clear(); loosing data and not persisting managed objects

I'm having trouble with flush() and clear() in a loop inside a transaction not persisting modified objects to database. Sometimes it does other times it doesn't. Here is my Entity. ... 2.2.3_06] Unexpected exception (Error 990) Generated by Java HotSpot(TM) 64-Bit Server VM 1.6.0_24 (on Linux ... length of primary keys, but large strings as demonstrated by this test should be avoided, if possible, because a primary key whose length ... 2.2.3_09] Unexpected exception (Error 990) Generated by Java HotSpot(TM) 64-Bit Server VM 1.6.0_24 (on Linux ...

 
forum_thread

Selective merge/cascade of detatched entity

I'm having an issue with my application, and I'm hoping you guys will be able to help. Please forgive typos and obvious errors, I'm having to retype from a non-internet connected network. A contrived example is: ... This improved performance by between 5-30%, but this is still significantly slower than I'd hoped. I ... solution, if possible, should be avoiding merge. By the way, at the end of the test you should add: emf. close ... changes. As noted above, the detached object is not used by the EntityManager to represent the object later,  but a ...

 
issue

NullPointer when accessing persistent field

I am afraid this is a large and complex example, and I do not encounter the problem in simple cases, therefore there is no example attached. I appreciate this may make the bug unreproduceable from your end.   ... 2.3.2] Unexpected exception (Error 990)   Generated by Java HotSpot(TM) Server VM 1.6.0_27 (on Windows Server 2008 6.0). Please ... Unexpected exception (Error 990)   Generated by Java HotSpot(TM) Server VM 1.6.0_27 (on Windows Server 2008 6.0). Please ...

 
forum_thread

ClassCastException: cannot be cast to com.objectdb.spi.TrackableUserType

Hello, I have a class TherapeauticDrugScreenRqst with two other nested subclasses - all using Groovy. My first attempt to persist TherapeauticDrugScreenRqst to Objectdb 2.2.8 is successfully. However, although my method to store the method is shown below: ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ... names) with the code style (can be applied by ctrl + D). Long stack traces (> 50 lines) and complex ...