About build

forum_thread

Possible issue with String fields

Hi I'm brand new to objectdb and I'm trying to create an objectdb from a sample db via jdbc. The code all works and for a few thousand records but when I increase the number of records I get the following " ... It seems as a regression bug (added in build 2.3.7_14) in handling temporary file path. Please try build 2.3.7_16 that should fix it. If it doesn't - please try build 2.3.7_13. When you increase the number of records in a ...

 
forum_thread

can't get HashMap out of the database

I'm trying to persist an Entity containing a HashMap. It stores the data in the database OK, but the map is always empty when I get the entity out of the database again. I've reproduced this problem in a simple variation of the Guestbook tutorial: Guest class: ===================== ... thread . In addition, you have to use the last build (2.3.2_04), since due to a bug ( issue #81 ) eager load didn't work ... there was a problem with eager fetch of maps. Please try build 2.3.2_06. ObjectDB Support ObjectDB - Fast ...

 
forum_thread

Bug: ClassCastException by retrieval

Hi, when a generic array put into ObjectDB, its type changed to Object[]! codes: ... / bin / objectdb. jar Java Result : 1 BUILD SUCCESSFUL ( total time : 0 seconds ) ... 2011-07-24 01:21 Build 2.2.8_07 adds support of using array of parameterized type for persistent ...

 
forum_thread

Redeployment in GlassFish - Failed to open file

Hi. I am facing a problem with the redeployment of the application in GlassFish. I can deploy my application in GlassFish for the first time and it works. Once I need to redeploy it after making some changes in the source codes, the following errors come up in the GlassFish Log. It seems that the database file is still in use. I have highlighted the cause by red color. How I can release the database file for redeployment? Every time, I need to stop the server, start it again and redeploy the application. it is very troublesome during development.... Failed to open file 'D:\Projects\JPAWebObjectDB-test\build\web\WEB-INF\db\guests.odb' at ...

 
forum_thread

TYPE Expression

Hi there! Trying to add a simple type expression with the criteria api like in your sample: cb.notEqual(e.type(), cb.literal(Country.class)); results in the error: Caused by: com.objectdb.o.UserException: Attempt to store an instance of a non persistable type java.lang.Class at com.objectdb.o.MSG.d(MSG.java:61) at com.objectdb.o.TYW.writeElement(TYW.java:223) at com.objectdb.o.QRR.l(QRR.java:424) at com.objectdb.o.QRR.g(QRR.java:230) at com.objectdb.o.QRR.b(QRR.java:151) ... 2011-12-06 15:13 Build 2.3.4_02 includes a partial fix and the following test should work: ... 2011-12-07 19:28 Build 2.3.4_03 should fix also the type literals problem. Please try it. ...

 
forum_thread

newbie - lots of exeptions

Hi  I'm very new to objectdb . I have bought a server and really want to use it. Our code works well with eclipselink and postgresql - until we stress it which is why I'm trying to get objected to work.   realy wierd things are going on ... we are using hessian to connect our remote clients to glass fish and invoke methods there (fine with postgresql) . here is our log (part of it at least .... exceptions are happening all the time when we're working with objected). ... In addition to the suggested workaround above, a new build (2.4.4_16) includes an attempt to bypass these exceptions. ... The last stack trace was produced by build 2.4.4_06: [ObjectDB 2.4.4_06] ... the server running. Try restarting the server with the new build and see if new exceptions are logged. ObjectDB ...

 
forum_thread

Slow performance on Mac

- This code is tested on Windows and Mac. Windows is working great, Mac is very slow (read is 11 seconds on Mac, and 100 milliseconds on Windows). - Application is using Spring Boot console application (for JPA implementation) - MacOS Sierra 10.12.3, Core i7 CPU, 16GB RAM, SSD drive java version "1.8.0_131" Java(TM) SE Runtime Environment (build 1.8.0_131-b11) Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)   Running sample jar: ... version "1.8.0_131" Java(TM) SE Runtime Environment (build 1.8.0_131-b11) Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)   Running sample jar: ...

 
forum_thread

Using date in where clause

I am trying to build a SELECT query as follows. SELECT p FROM Persons p WHERE creationDate="07-25-2013" Here I have created Persons object as java.sql.Date attribute.   But in doing so I am getting following exception Operand type mismatch for operator '=' (error 757) (position 51) at com.objectdb.jpa.JpaQuery.getResultList(JpaQuery.java:695)   Can someone provide me that way to build a query with date in where clause. ... 10:32 I am trying to build a SELECT query as follows. SELECT p FROM Persons p WHERE ...   Can someone provide me that way to build a query with date in where clause. ...

 
tutorial

Getting Started with JPA - Maven Project

The Getting Started with JPA tutorial as a Maven project (download & run).... tutorial provides step by step instructions on how to build a simple JPA database driven application in Eclipse or NetBeans . ...

 
issue

Adding objectdb-jee.jar to the maven repository

Hi, I can only find objectdb.jar releases in the ObjectDB maven repository. Would it be possible to include objectdb-jee.jar for the current and future maven releases? Thanks Andrew ... Thank you for this report. Starting build 2.6.2_02 the ObjectDB Maven repository will include only ObjectDB without ... ObjectDB outside a Java EE application server (starting build 2.6.2_02), dependency on JPA and JTA should be explicitly specified in ...