About project

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:   ... that glassfish 3.1.2 behaves differently. I tested another project which uses eclipseLink and java DB. it works well. glassfish 3.1.1 ...

 
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: ... fully supported, so if it doesn't work well in your project you will probably have to use EAGER when necessary. ...

 
manual

Index Definition

Describes how to define indexes in JPA entity classes and explains how indexes are used in JPQL queries. Querying without indexes requires iteration over entity objects in the database one by one. This may take a significant amount of time if many entity objects have to be examined. Using proper indexes the iteration can be avoided and complex queries ov ...

 
forum_thread

UserException: Invalid configuration in 'internal' - Check permissions

Hi all,   I have a master/slave code so that each slave reads a subset of points of the same database. ObjectDB entities do not allow serialization and so I have sent, to each slave, the file path. With such information I have tried to create an entityManager, in each slave, as follows: EntityManagerFatory entityManagerFactory = Persistence.createEntityManagerFactory(filePath); EntityManager = entityManagerFactory.createEntityManager(); However I get the following error ... to get the same error, I have attached a simple netbeans project with an example. I have also attached the server and node packages of ...

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

 
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: ... the result of partial enhancement. Try rebuilding the project and re-enhancement of all the persistable classes. If you still ...

 
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? ... potentially very important to us on an extremely large JPA project where we may be migrating away from a large commercial database. ...

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

 
issue

ClassCastException thrown when running count query

Hello! Attached you find a full stacktrace. The query was: ... If we can sort out this problems i will swich my project to your product. It's really fast. ...