About recording

forum_thread

Objectdb recovery

Hello, I have question regarding objectdb recovery when objectdb is not finished correctly (power outage). We are using following configuration: <recovery enabled="true" sync="false" path="." max="128mb"/> <recording enabled="false" sync="false" path="." mode="write"/> Is there any possibility of data loss when power outage? ... path = "." max = "128mb" / > <recording enabled = "false" sync = "false" path = "." mode = ...

 
forum_thread

@PrePersist Implementation

Hi Please help me.I have requirement like In my project having arround 100 pojos .I have used @EntityListener and @prePersist annotaions to invoke my action class .. But problem is how can i get oldvalue and new value of current form of pojo in side my @entity Listener Action class. code snipt ===== Action class ======= #1 2014-04-22 17:26 Hi Please help me.I have requirement like In my project having arround 100 pojos .I have used @EntityList ...

 
forum_thread

Insert time increases as db grows.

Hello, #1 2012-12-18 22:22 Hello, I've just installed ObjectDB and done some tests. I'm inserting 22k of records like 10k it ...

 
forum_thread

Handling "is null" in where clause

Greetings, I was playing aroung with JPQL and have found that there is a problem with "is null" queries. When you use "is null" in where clause, query runs correctly, but results are incorrect. Let me show you an example: - entity @Entity public class EntityA { @Id Integer id; Integer simpleField; (getters and setters here) - populating database #1 2010-09-24 10:23 Greetings, I was playing aroung with JPQL and have found that there is a problem with "is null" queries. ...

 
forum_thread

java.sql.Timestamp.getTime() not working

Hi, I need to work with Timestamp diff in two entity fields, but this queries SELECT count(p) FROM Player p WHERE p.loginAt.getTime()-p.registeredAt.getTime()>:value SELECT p.loginAt.getTime() FROM Player p fails with object is not an instance of declaring class but SELECT p.loginAt.getYear() FROM Player p works. How that possible?   #1 2016-11-27 19:51 Hi, I need to work with Timestamp diff in two entity fields, but this queries SELECT count ( p ...

 
api-jpa

javax.persistence.Table

Specifies the primary table for the annotated entity.(Annotation of JPA)

 
issue

Sort of very large objects - out of memory

The attached test is failing with an out of memory exception when running with -Xmx512m It performs the following actions: 1) Create 5 persist threads which create and persist a large object in a loop 100 times each 2) Create 5 get threads which read 100 objects each in a loop based on object creation time and priority The message size should be around 1mb so I think there should be around 11mb of "live" data in play at any time. The objectdb cache settings are low in the config - database section is below for reference. ... path = "." max = "128mb" /> <recording enabled = "false" sync = "false" path = "." ...

 
forum_thread

ObjectDB Explorer very slow with remote con

Hi! I started to use ObjectDB Explorer to administrate a remote DB (on a server), but it seems to be very slow. The database is quite empty now, just between 5-20 records / entity, but it's still very very slow. That's the only thing that is slow on my server... How can I speed it up? #1 2013-07-24 08:21 Hi! I started to use ObjectDB Explorer to administrate a remote DB (on a server), but it seems to be very ...

 
doc

printStackTrace()

Prints this throwable and its backtrace to the standard error stream.(Method of java.lang.Throwable)

 
faq

What are the main benefits of using ObjectDB?

By using ObjectDB you can reduce development time and costs and improve your application performance. Reducing Development Time and Costs ObjectDB makes database programming easier and faster. The ability to store ordinary objects in the ...