About @Version

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

Exception on creation when running multithreaded

Hi, I'm trying to test the creation of an object from my datamodel(Organisation) and the creation process includes the creation of an acl for the newly created organisation all in the same transaction. The process is as followed: 1. The organisation gets created 2. The acl is being searched to check if it already exists 3. if it exists it will be updated, otherwise it will be created   #1 2011-08-04 07:08 Hi, I'm trying to test the creation of an object from my datamodel(Organisation) and the creation pro ...

 
forum_thread

Multitenancy with discriminator

Hello, I have a very large business application that makes use of the Hibernate "Filters" feature and of the EclipseLink "Single Table Multitenancy with discriminator" feature in order to implement entities filtering based on a discriminator. Here is an example of one of my business objects: public class BusinessPartner {     protected String id;     protected Domain domain;     ... } #1 2015-02-19 09:32 Hello, I have a very large business application that makes use of the Hibernate "Filters" feature and ...

 
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) #1 2014-06-08 17:54 [ObjectDB 2.5.5_05] Unexpected exception (Error 990) Generated by Java HotSpot(TM) 64-Bit Server VM 1.8.0_05 (on ...

 
manual

Defining a JPA Entity Class

Shows how to define a JPA entity class in order to store objects in the database. To be able to store Point objects in the database using JPA we need to define an entity class . A JPA entity class is a POJO (Plain Old Java Object) class, i.e. an ordinary Java class that is marked (annotated) as having the ability to represent ...

 
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: #1 2012-12-16 11:51 Hello, I have a problem to use the server with ssl. I have created the certificate using this command: ...

 
manual

JPA Persistable Types

Explains how JPA manages types, including entity classes, embeddable classes, primitive types, wrappers, string, date, enum, collections and maps. The term persistable types refers to data types that can be used in storing data in the database. ObjectDB supports all the JPA persistable types, which are: User defined classes - Entity classes, Mapped superclasses, Embeddable cl ...

 
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: #1 2011-12-22 15:26 Hi, I'm working on some reporting stuff in our application. One of few different reports should inclu ...

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