About constructor

forum_thread

GWT RPC is throwing serialization exception when I have object db date value

Caused by: com.google.gwt.user.client.rpc.SerializationException: Type 'objectdb.java.util.Date' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized.: instance = Sat Jan 29 00:00:00 PST 2011    at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serialize(ServerSerializationStreamWriter.java:614)  ... (instead of RPCing my entities) and in the set methods or constructor (depending on how I do it) I just make sure I create a new ...

 
forum_thread

JPQL keyword in entity - what to do?

Hi, I have a problem with entity that is using one of JPQL keywords as one of the fields. It's a 'type' field. When I try to build a query that looks for example like this: select new ResultData(p.type.name, count(p.id)) from Product as p group by p.type.name I got this exception: ... It seems that the constructor is not found - try changing the 2nd argument from Long to long. ...

 
forum_thread

ClassCastException on SELECT NEW ... after UPDATE over Java RMI

Hi, we are using ObjectDB 2.5.4_04 on Linux. Our application, which uses ObjectDb as a DB, exposes a Java RMI interface which allows remote RMI clients to run JPQL queries on the DB. The application internally runs SELECT NEW ... queries. For example: ... at java.lang.reflect.Constructor.newInstance(Constructor.java:525) at ... Integer rather than Long. Therefore, if the constructor of  FileNameDTO  expects a Long value there is no ...

 
release

2.7.0

Release date: 2017-03-09 Download (5.58 MB) Binary:  objectdb-2.7.0.zip Version 2.7.0 Extended maximum supported entity object size ...

 
release

2.6.9

Release date: 2016-08-10 Download (5.58 MB) Binary:  objectdb-2.6.9.zip Version 2.6.9 Added support for integration with WebSphere ...

 
page

Posting to ObjectDB Website - Important Instructions

Instructions for posting to ObjectDB website (to the forum, the issue tracking and the help desk).... The class should have a no-arg public or protected constructor, An entity class must be a top level class, The project does not ...

 
release

2.6.6

Release date: 2016-01-27 Download (5.53 MB) Binary:  objectdb-2.6.6.zip Version 2.6.6 Added support of automatic activation of ...

 
release

2.6.7

Release date: 2016-03-04 Download (5.54 MB) Binary:  objectdb-2.6.7.zip Version 2.6.7 Added an option to write javaagent enhanced c ...

 
release

2.6.8

Release date: 2016-05-23 Download (5.57 MB) Binary:  objectdb-2.6.8.zip Version 2.6.8 Added JPA XML validation schema files to Mave ...

 
release

2.6.5

Release date: 2015-12-22 Download (5.52 MB) Binary:  objectdb-2.6.5.zip You should start by following a  tutorial or reading the ...