About users

forum_thread

@Transient

Hello, I have a persistent class which looks something like this: @Entity public class Test { private String string; private Date date; @Transient private boolean test; // getters/setters } When I persist the class the transient 'boolean test' is stored in the database, maybe I am doing it wrong but I expect #1 2010-11-22 12:16 Hello, I have a persistent class which looks something like this: @ Entity public ...

 
forum_thread

Problem on JPA Merge Entity.

Hello, I have a problem with the EntityManager.merge() function. I set a property value of an entity (statement) with an other entity (newSingleConstraint). newSingleValue is already persisted. I do this myself (no use of cascade because sometimes the newSingleValue is already in database).   The statement update don't throw exception. And when i try to reload statement the value i have set before is a null value. I check with the Explorer, the statement has a null value on the property and the newSingleValue is present. #1 2011-02-03 16:57 Hello, I have a problem with the EntityManager.merge() function. I set a property value of an ent ...

 
forum_thread

Tomcat + JPA Problem

Hi i tried to setup the example from your webpage (jpa - Tomcat with Ecplipse) and i always get this Error: [ObjectDB 2.1.0] class "javax.persistence.Entity"'s signer information does not match signer information of other classes in the same package   #1 2011-03-07 19:06 Hi i tried to setup the example from your webpage (jpa - Tomcat with Ecplipse) and i always get this Error: ...

 
forum_thread

Grouping by date()

Hi, For some time now we can use date and time function in queries to extract part of date time (from documentation): YEAR({d '2011-12-31'}) is evaluated to 2011. MONTH({d '2011-12-31'}) is evaluated to 12. DAY({d '2011-12-31'}) is evaluated to 31. HOUR({t '23:59:00'}) is evaluated to 23. MINUTE({t '23:59:00'}) is evaluated to 59. SECOND({t '23:59:00'}) is evaluated to 0. #1 2011-12-20 15:05 Hi, For some time now we can use date and time function in queries to extract part of date time (from doc ...

 
forum_thread

JPA vs JDO - which is more efficient for OneToMany queries?

I'm curious about the trade offs between JDO and JPA. Seems to me that JDO will perform better and be statically typed. For example: Assume there are Customers and Orders. #1 2010-11-09 12:04 I'm curious about the trade offs between JDO and JPA. Seems to me that JDO will perform better and be statically ...

 
forum_thread

Maven host down?

Hi, Something is wrong with ODB maven repository. I was trying to update / resolve dependency for new ODB build and m2.objectdb.com seems to be down. Can you check this please? Thanks. #1 2012-12-19 10:59 Hi, Something is wrong with ODB maven repository. I was trying to update / resolve dependency for new ODB ...

 
forum_thread

ODB tries to create log files inside its own jar on Win7

I sent a demo of an app I've been developing on Linux to some Windows 7 users, and they were unable to run it.  The stack traces they sent me indicated that ODB was trying to create its log files inside objectdb.jar, which was inside the executable jar packaged by Eclipse.  Here's the end of the stack trace: ... an app I've been developing on Linux to some Windows 7 users, and they were unable to run it.  The stack traces they sent me ... packaged it.  Either way, it does not affect Linux users; I can copy my executable jar to another Linux machine and it works ...

 
forum_thread

Possible cause for "Enhancement of type ... is old and cannot be used"

We get the following log: #1 2015-06-08 12:33 We get the following log: [ 2015-06-08 13:07:02 #1 type.user] Enhancement of type com.btc.ep.re ...

 
issue

Sometimes the ObjectDB throws an internal expeption if a persist() was executed

[ObjectDB 2.6.6_08] Unexpected exception (Error 990) Generated by Java HotSpot(TM) 64-Bit Server VM 1.8.0_51 (on Windows 7 6.1). 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.OBM.bE(OBM.java:395) at com.objectdb.o.OBM.bE(OBM.java:269) at com.objectdb.jpa.EMImpl.persist(EMImpl.java:442) Bug Version: 1.04 Priority: Low Status: Closed Replies: 7 Type:  Bug ...

 
forum_thread

Password Protect Database File

Is there a way to encrypt the odb file so that if hackers somehow steal it they cannot access the data without some kind of password? I would imagine accessing the database from java could just have another connection parameter while accessing from explorer.jar/exe would need to prompt the user for a password for encrypted odb files. ... application communication with the database or with the users (before encryption) and get access to your data. If you cannot ...