About Entity

forum_thread

Soft Reference Object Cache Recommendation

(Trying again.  Last post, ~50 minutes to compose, failed, possibly due to an attachment upload size limit being exceeded before the post attempt.  =(  ) ... topics. ObjectDB doesn't hold strong references to entity objects unless necessary (e.g. for dirty objects until commit). On the ... possible faults and fix them, but the soft references to entity objects behaviour seems normal. > Even after using ...

 
issue

[ObjectDB 2.6.9] Unexpected exception (Error 990)

[2017-03-29 14:04:44 #1 client] [ObjectDB 2.6.9] Unexpected exception (Error 990)   Generated by Java HotSpot(TM) 64-Bit Server VM 1.8.0_121 (on Windows 8.1 6.3). Please report this error on http://www.objectdb.com/database/issue/new com.objectdb.o.InternalException: null com.objectdb.o.InternalException at com.objectdb.o.BYR.o(BYR.java:113) at com.objectdb.o.BYR.w(BYR.java:206) at com.objectdb.o.VUT.j(VUT.java:350) at com.objectdb.o.RST.C(RST.java:194) at com.objectdb.o.RTT.l(RTT.java:134)... 922589 entity objects (total) ha ve been migrated. New database copy is ready at: ...

 
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,... use. i can see a warning in the odb log file about my entity not being enhanced. another option is using antrun but i would want ...

 
manual

Query Parameters in JPA

Explains how to use parameters (named parameters and ordinal parameters) in JPA queries.... support elements that are unavailable as literals, such as entity objects. API Parameter Methods Over half of the methods ...

 
forum_thread

Add class to objectdb ?

Hello , i've made blank db project and opened with explorer.jar How can i add class file then push objects manually by explorer.jar   It only gave me blank : http://img543.imageshack.us/img543/7463/screenshot20130203at001.png       ... using: emf. getMetamodel ( ) . entity ( "MyEntity" ) ; ...

 
forum_thread

Upgrade to 2.4.1_03

Right, that fix to 2.4.1_02 got us past the previous issue. Now I'm not sure whether this next issue is our annotations, or another issue with objectdb. I have added some more classes to the unit test. They are used by AbstractContactDetail. On line 372 of the attached test, AbstractContactDetail extends AttributeHolder. If I remove the extends, the test passes. If I add it, it fails. I'm not even adding anything to AttributeHolder as part of this test. The exception I get with the extends is: ... problem result from the way that ObjectDB builds a new entity object for merge, which includes clearing the new constructed object. In ...

 
forum_thread

Opensource ObjectDB

I know you have answered this question some years ago, but I think about the databases that have recently "triumphed" like MySQL, MongoDB or SQLite and they are free databases. Also in the Java world we have the example of Hibernate (ORM) and Apache Hadoop (framework for Big Data). ... Would be great if that 10 entity class limit is raised, even by a bit :P ...

 
issue

Enhanced classes problem

Hell, we have problem with the OEM enhancement licencing. When we used runtime licencing using machine activation code, everything works fine. But when we enhanced our classes with OEM licence, following errors occurs: ... reference value of field field eu.ysoft.safeq.core.cache.entity.CacheableJobStat.jais using enhanced method at ... eu.ysoft.safeq.core.cache.entity.CacheableJobStat.__odbGet_jobId(CacheableJobStat.java:1) at eu.ysoft.safeq.core.cache.entity.CacheableJobStat.toString(CacheableJobStat.java:136) at ...

 
forum_thread

UserException: Package com.example.model is not found by the enhancer

My program works fine when I run it from Netbeans but as soon as I clean and build and move the dist directory out of the project to a remote location and run it using java -jar example.jar then I get the exception: com.objectdb.o.UserException: Package com.example.model is not found by the enhancer It occurs on this line: com.objectdb.Enhancer.enhance("com.example.model" + ".*"); ... be cool if Netbeans gave a warning when code referenced entity object member variables rather than getters and setters. I think if you ...

 
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. #1 2014-08-14 20:50 Is there a way to encrypt the odb file so that if hackers somehow steal it they cannot access the data without so ...