About Explorer

forum_thread

wrong query result

Hi we have a problem with queries, database is returning wrong results. These are the queries we run from ObjectDB explorer. ... These are the queries we run from ObjectDB explorer. Query 1 - SELECT MAX(e.generisaniID) FROM AktImpl e – ...

 
tutorial

Step 5: Add a JSP Page

Explains how to add a JSP page that uses JPA to an Eclipse Java EE 6 (J2EE) web application.... by right clicking the WebContent node (in the [Package Explorer] window), selecting  New > Other... > Web > JSP File and ...

 
tutorial

Step 3: Add a Main Class

Explains how to add the JPA tutorial Main class in Eclipse.... clicking the tutorial package node (in the [Package Explorer] window) and selecting New > Class . The ...

 
tutorial

Step 6: Set the Spring XML

Explains how to set XML in an Eclipse Spring MVC JPA web application project.... file: Right click the WEB-INF node in the [Package Explorer] window, select  New > Other... > XML > XML File and ...

 
tutorial

Step 2: Define a JPA Entity Class

Explains how to define a JPA entity class in an Eclipse Web Application.... by right clicking the project node (in the [Package Explorer] window) and selecting New > Class . Enter ...

 
issue

com.objectdb.o.InternalException: null

After an error in a @PrePersist method in an Entity class, the database stopped working. Fortunately this was in development, but still worrying! The Entity class ...   Below in the stacktrace from ObjectDB Explorer when trying to execute the Query "select c from Customer c". ...

 
forum_thread

Cannot initialize db after inserting a java.util.List

Hi, I've spent some time trying to figure this out without success, so I'm asking for much appreciated help. I have an entity class like this: class Test { private List<String> list = new ArrayList<String>(); } I can persist and retrieve the obj just fine using standalone program, but whenever I access the db through a servlet container I get this error: objectdb.java.util.ArrayList cannot be cast to com.objectdb.spi.TrackableSysType This happens during EntityManagerFactory initialization.... I've also verified the data using ObjectDB Explorer. Here's the whole stacktrace: ...

 
forum_thread

Java EE JPA (GLassfish) tutorial throws ClassCastException

When launching the Guestbook tutorial for the second time (after a server restart) I get a ClassCastException: java.lang.ClassCastException: guest.Guest cannot be cast to guest.Guest The first time (when the db is created) persisting and retrieving works fine. Using the explorer on the db file shows the objects I persisted. I followed the exact steps as descriped in the tutorial. Did I miss something? - Java 1.7.0_03 - ObjectDB 2.4.5_06 - GlassFish Server Open Source Edition 3.1.2.2 ... persisting and retrieving works fine. Using the explorer on the db file shows the objects I persisted. I followed the ...

 
forum_thread

Refresh data in application after database data has changed

Hi, I have a Java program that can manage and create some Person objects. When I start my application and I want to add a person with the same national number as a person already in the database, my program has to block the creation. ... I change the value of the national number in the database explorer when the program is running and I want to recreate the person, he ...

 
forum_thread

Eclipse plugin problem (using ObjectDB as a separate bundle)

Hello support, I have seen multiple attempts to correct similar errors as in the title above - the latest in the 2.2.8.01 release of objectDb. However I still get this error.   Here is my scenario (Groovy 1.8 and Eclipse 3.6) used. I have a com.epimss.lab.data.toxicology.TherapeauticDrugScreenRqst. Nested in this class are the following two classes: com.epimss.lab.data.misc.OtherRqst and com.epimss.lab.data.misc.RequestDateAndNumber. ... everything is persisted as expected - I used ObjectDB explorer to view my data. Now, any other attempt to persist another ...