About Explorer

release

2.1.0

... Fixed a bug in viewing TreeSet and TreeMap in the Explorer. Fixed detachment of entities by replacing proxy ...

 
tutorial

Step 5: Add a JSP Page

Explains how to add a JSP to an Eclipse Spring MVC JPA web application project.... clicking WEB-INF under src/main/webapp (in the [Package Explorer] window), selecting  New > Other... > Web > JSP File and ...

 
tutorial

Step 1: Create a Web Project

Explains how to create an Eclipse Dynamic Web Project with ObjectDB/JPA support.... dropping it on the WEB-INF/lib node in the Eclipse Project Explorer: Now you should have an Eclipse Dynamic Web project with ...

 
forum_thread

Object comparation never matches

Hi! I'm trying to compare 2 identical objects in SELECT with no success: @Embeddable public class PhoneNumber implements Serializable {     int countryCode;     long number;   Which is a part of Customer object: ... ( ) ; According to ObjectDB explorer, the record is stored as expected. ... principal | PhoneNumber ...

 
forum_thread

config file for embedded database

Hi, I'm going back to embedded mode after some time with client/server mode. Question: how does the embedded jar find it's config file? Dave ps: thanks for the improvements to the explorer - still need a way to view (view only) an open embedded database. ... Dave ps: thanks for the improvements to the explorer - still need a way to view (view only) an open embedded database. ...

 
tutorial

Step 6: Design a BIRT Report Table

Explains how to design a BIRT report table using ObjectDB and JPA.... the x and y columns from the data set in the [Data Explorer] window (under the data set node) and dropping them on the second ...

 
forum_thread

Guestbook Tutorial (Eclipse/Glassfish)

I have the tutorial working which has been a great help in understanding how to use ObjectDB. I have found one problem. The database file (C:\glassfish3.1\glassfishv3\glassfish\domains\domain1\eclipseApps\Guestbook\WEB-INF\db\guests.odb) is reset on occasions; I am not sure what set of events causes this. I can enter a number of entries, stop Glassfish, use the Object Explorer to view the objects. At some point, may be when restarting Glassfish or re-publishing the application, the database is empty. Any help would be much appreciated. ... enter a number of entries, stop Glassfish, use the Object Explorer to view the objects. At some point, may be when restarting Glassfish ...

 
forum_thread

ClassCastException of same object type

I have ObjectDB partially working with my project. At the moment it seems to be saving objects and retrieving objects ok in the main project. However, when I make a plugin for the project, the new objects are persisted but not retrieved. I get the following error: java.lang.ClassCastException: org.sportscoring.ssv.xc.core.XCCompetitorCount cannot be cast to org.sportscoring.ssv.xc.core.XCCompetitorCount ... an ICoreObject, not as a XCCompetitorCount. Yet using the Explorer I can see it in the db as a XCCompetitorCount. I would ...

 
forum_thread

UPDATE query to set a new field after schema change

I've added a new property/field to one of my objects and want to set the value of this (boolean) property to false for all existing entities in the DB. I tried to execute an update statement with the Explorer tool. The statement ends and tells me that 1000 entities have been updated. I then save the changes to the DB via file->save. But when I execute a select on the DB I see that the field is still "null" for all instances. How do I initialize the field? ... I tried to execute an update statement with the Explorer tool. The statement ends and tells me that 1000 entities have ...

 
issue

UPDATE query cannot set a new field after schema change

I've added a new property/field to one of my objects and want to set the value of this (boolean) property to false for all existing entities in the DB. I tried to execute an update statement with the Explorer tool. The statement ends and tells me that 1000 entities have been updated. I then save the changes to the DB via file->save. But when I execute a select on the DB I see that the field is still "null" for all instances. How do I initialize the field? ... I tried to execute an update statement with the Explorer tool. The statement ends and tells me that 1000 entities have ...