About result

forum_thread

type.loader java.lang.ClassNotFoundException

ObjectDB objectdb-2.2.5_03 in client-server mode Netbeans ID6.9.1 Glassfish3.0.1 With server logging turned on I get the following error message for many (or all) encountered classes: ... (e.g. info ). The empty database might be the result of another issue - please try to isolate the problem. The server ...

 
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: ... This and the previous problem result from the way that ObjectDB builds a new entity object for merge, which ...

 
forum_thread

Query in JPA2 with LEFT JOIN on INNER JOIN

select a.description, a.id, p1.description, p2.description,p3.description from action a left join action_profile ap1 on ap1.id_action=a.id inner join profile p1 on  ap1.id_profile=p1.id  and p1.name='?' left join action_profile ap2 on ap2.id_action=a.id inner join profile p2 on  ap2.id_profile=p2.id  and p2.name='?' where a.id =?;   Thanks   ... 14:31 But the result of the query is different if insert the WHERE conditions instead of ...

 
forum_thread

query on calendar class

Hello!   I'm looking for help to build query on calendar class. I need to get objects where Calendar.DAY_OF_WEEK is FRIDAY or any other. My class: @Entity public class Cdr {     private static final long serialVersionUID = 1L;        @Id @GeneratedValue     private long serialID;     private String A;     @Temporal(TemporalType.TIMESTAMP) private Calendar start; I tested: #1 2014-07-27 21:24 Hello!   I'm looking for help to build query on calendar class. I need to get objects wh ...

 
manual

JPA / JDO Class Enhancer

The Enhancer is a post compilation tool that improves performance by modifying the byte code of compiled classes after compilation.... in quotes to prevent extraction by the shell. The result output message lists the classes that have been enhanced: [ ...

 
issue

Issue with cascade delete & add/remove

Hi, Please see the attached sample project (important: classes need to be enhanced as done in the pom.xml file). ... enhancement and using reflection is different. This is the result of different implementation of the action in these two modes. ...

 
issue

GC overhead limit exceeded

I had some memory problems with a process running over the weekend and received the following exceptions in the objectdb log: 1) ... This could happen as a result of heavy memory usage. Read about a configuration change that ...

 
forum_thread

Drop the entire database, Change the schema

I am trying to port and example app to ObjectDb. As part of the tests I drop the database and reload it with the new schema automatically between test cycles. Is there a simple way to do this with ObjectDb, or is the only way to delete the database file everytime? Thanks #1 2011-08-24 12:19 I am trying to port and example app to ObjectDb. As part of the tests I drop the database and reload it with the ...

 
forum_thread

Undeployment of an remote Glassfish application locks objectdb log file

System: Netbeans 7.1 Oracle Glassfish 3.1.2 ObjectDB 2.3.7_04 Senario: Create a simple WebApplication with a "hello world" web service interface in Netbeans. Add objectDB test code to the web service: #1 2012-04-08 07:06 System: Netbeans 7.1 Oracle Glassfish 3.1.2 ObjectDB 2.3.7_04 Senario: Create a simple We ...

 
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" + ".*"); ... Error: Could not find or load main class java Java Result: 1 Also where does the .odb file get stored after building ...