About projection

forum_thread

Database size is much larger than expected (x2)

I store images into objectdb. The schema is : <URI>::=(<sUrl>, <cMark>, <iSize>, <baBody>, <id>) <sUrl>::=String <cMark>::=char <iSize>::=int <baBody>::=byte[] <id>::=@ID So simple a class will fail after 155,648 insertions with -Xmx1432m, #1 2011-08-18 02:10 I store images into objectdb. The schema is : <URI> ::= ( <sUrl>, <cMark&g ...

 
release

2.2.8

Release date: 2011-07-03 Download (5.14 MB) Binary:  objectdb-2.2.8.zip You should start by following a  tutorial or reading the manual ...

 
forum_thread

Closed EntityManagerFactory after upgrading glassfish 3.1.1 to 3.1.2

Hi. I have faced a very serious issue. After upgrading the GlassFish server from 3.1.1 to 3.1.2 this error appears:   #1 2012-03-07 11:07 Hi. I have faced a very serious issue. After upgrading the GlassFish server from 3.1.1 to 3.1.2 this error ap ...

 
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: #1 2014-06-05 20:19 Hello. @OneToMany(fetch = FetchType.LAZY) doesn't work when using EJB or something else related to J2 ...

 
release

2.2.7

Release date: 2011-06-14 Download (5.13 MB) Binary:  objectdb-2.2.7.zip You should start by following a  tutorial or reading the manual ...

 
forum_thread

Indexing a field results in internal Exception

I have an application that I have been converting from JPA/MySQL to JDO/ObjectDB and I have hit a problem with indexing. An index on a String field is required to give good performance but if I add the @Index annotation to the field I eventually end up with an ObjectDB internal exception.  This is reproducible, as is the program running to completion (slowly) if I remove the @Index annotation.  Is there anything I can look for that might result in this exception? #1 2013-04-21 20:40 I have an application that I have been converting from JPA/MySQL to JDO/ObjectDB and I have hit a problem with in ...

 
issue

query.getResultList() throws ClassCastException

I modified the example code to include an index on the Point class like so:     @Index(members={"x","y"}) Then when I run the following query:     TypedQuery<Point> query = em.createQuery("SELECT p FROM Point p where p.x <= :x and p.y >= :y",         Point.class); I get the exception at the end.  I do not get an exception if I: ... object is likely to be our common use case, rather than a projection. I had made changes to use a configuration XML, and ...

 
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 ...

 
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: #1 2011-07-07 19:57 Hello, I have a class TherapeauticDrugScreenRqst with two other nested subclasses - all using Groovy. ...

 
release

2.2.6

Release date: 2011-06-02 Download (5.13 MB) Binary:  objectdb-2.2.6.zip You should start by following a  tutorial or reading the manual ...