About version

manual

Defining a JPA Entity Class

Shows how to define a JPA entity class in order to store objects in the database.... fields, how to define and use a primary key and what a version field is and how to use it. If you are already familiar with JPA ...

 
forum_thread

InternalException - reporting as requested

[ObjectDB 2.5.5_05] Unexpected exception (Error 990)   Generated by Java HotSpot(TM) 64-Bit Server VM 1.8.0_05 (on Linux 3.13.0-29-generic). Please report this error on http://www.objectdb.com/database/issue/new com.objectdb.o.InternalException: java.lang.NullPointerException: null java.lang.NullPointerException at com.objectdb.o.QNF.I(QNF.java:1306) at com.objectdb.o.QNF.k(QNF.java:315) at com.objectdb.o.QNF.H(QNF.java:1264) at com.objectdb.o.QNF.k(QNF.java:210) at com.objectdb.o.QNF.t(QNF.java:611)... 2014-06-08 21:30 version 2.5.5_12 solves the issue.   ...

 
forum_thread

how to query by properties of onetomany relations? (Error 990)

the following code fails em.createQuery("select f from Foo f where f.bars.name = ?1", Foo.class).setParameter(1, barName) stacktrace: #1 2011-05-10 21:39 the following code fails em. createQuery ( "select f from Foo f where f.bars.name = ?1" , Foo. ...

 
forum_thread

How to define database structure and insert some initial objects from scratch

Hi from Spain! We're evaluating ObjectDB and we have some questions: - How can we create the initial database structure of our application? We know objectdb is all about objects and probably not need initial structure like tables, but how can we populate some "tables" with initial data from a script? In SQL world we have scripts like "insert into..." - Can we use main objectdb.jar library as jdbc driver for ETL software like Kettle? How about migrating data from another database system? #1 2012-02-23 19:18 Hi from Spain! We're evaluating ObjectDB and we have some questions: - How can we create the ...

 
forum_thread

Speeding up reporting queries with size() on list

Hi, I'm working on some reporting stuff in our application. One of few different reports should include activity on last modified objects. The query for now looks like this: select date(insp.lastModificationDate), insp.modifiedBy, insp.description.length(), insp.products.size(), insp.picture from Inspiration insp order by date(insp.lastModificationDate) desc insp.description is normal String field in Inspiration entity. insp.products is a list with 0 to 600 objects. Definition: ... First few tests shows, that new version works great (2sec queries now run in about 90ms). I will do some more ...

 
manual

JPA Persistable Types

Explains how JPA manages types, including entity classes, embeddable classes, primitive types, wrappers, string, date, enum, collections and maps.... persistable types. Note: Starting ObjectDB version 2.2.9 - serialization is disabled by default . ...

 
forum_thread

Attempt to store an instance of a non persistable type java.net.URL

ObjectDB 2.3.6_16: The following works in EclipseLink+MySQL and EclipseLink+Oracle: #1 2012-02-07 06:16 The following works in EclipseLink+MySQL and EclipseLink+Oracle: public Link ( String name, ...

 
forum_thread

SSL Problem

Hello, I have a problem to use the server with ssl. I have created the certificate using this command: keytool-genkeypair-dname "cn = Mark Jones, ou = JavaSoft, o = Sun, c = U.S."-alias business-keypass kpi135-keystore-storepass mykeystore ab987c-validity 180 Then I put in the configuration file objectdb: ... thanks for the reply. I installed the latest version of the software and now I get this error: [2012-12-18 19:02:43 #1 ...

 
forum_thread

Integration

Hi,   Is there a way to integrate ObjectDB with Spring Framework to add the benefits of Transaction Management and DAO Support?   Regards, #1 2010-12-01 18:37 Hi, Is there a way to integrate ObjectDB with Spring Framework to add the benefits of Transaction Managem ...

 
forum_thread

Problem with @UniqueConstraint

It seems there is a problem with @UniqueConstraint. Same annotations using hibernate works fine - an error will be thrown - duplicate name. ObjectDB - no exception will be thrown. with best regardsPeter #1 2011-01-23 15:32 It seems there is a problem with @UniqueConstraint. Same annotations using hibernate works fine - an error will b ...