About Explorer

release

2.2.0

... Version 2.1.1 Fixed an  Explorer bug in handling listeners and callbacks. Fixed a bug ... Fixed a bug in viewing TreeSet and TreeMap in the Explorer. Fixed detachment of entities by replacing proxy ...

 
forum_thread

@MappedSuperclass and @Transient not working as I expected

The problem could be my expectation, since I'm fairly inexperienced with JPA.  But here is the problem: The base class of my entity hierarchy is annotated as @MappedSuperclass, and one of its fields is annotated @Transient.  I expected that when I persist a subclass, no table would be created for the superclass, and the transient field would not appear in any table. The actual result is that there is a table for the superclass.  When I try to examine it in ObjectDB Explorer, it throws a NPE. ... the superclass.  When I try to examine it in ObjectDB Explorer, it throws a NPE.  And there is a column in the subclass table ... transient field - it is not stored in the database and the Explorer merely shows default values. See also this related forum ...

 
forum_thread

Listing large number of complicated objects with paging.

Hi, For last few hours I was working on a problem with bad performance and memory problems with such a simple query: select prod from Product prod order by prod.id ASC Right now I have 55541 'Product' (attached to this post) entities in database and I'm trying to speed listing them with paging. The problem is, that running code that looks like this: ... Java heap space exception. The same query in Explorer runs blazing fast (22ms) but I think it's because Explorer lazy loads all that objects and load their content on demand. ... is very simple (and therefore completes in 22 ms in the Explorer). The problem is probably with the extensive EAGER setting ...

 
forum_thread

Replication error on slave restart

I'm trying to enable replication on master server that was running with "recovery" enabled previously. I have copied database file to slave... and so on by manual. It worked fine. But if I restart slave server: ... it has some transactions) 5) View db files over explorer both master and slave (directly through /$replication path on slave) ... been restarted ever. 2) I opened master db with explorer [DATA PRESENT - AND UP TO DATE] 3) I copied sm.db file to my ...

 
tutorial

Step 2: Entity Class and Persistence Unit

To store objects in an ObjectDB database using JPA we need to define an entity class:... by right clicking the project node (in the [Package Explorer] window) and selecting  New > Class . ... e.g. by right clicking the project node (in the [Project Explorer] window) and selecting New > Folder (or  New > ...

 
forum_thread

possible index required for improving query performance

Hi,   I have the following entity class:   @Entity @Table @Indices({ @Index(members={"relationshipType", "party"}), @Index(members={"relationshipType", "otherParty"}),     @Index(members={"relationshipType"}) }) @XmlRootElement public class Relationship implements Comparable<Relationship> { ... otherParty is an object, so I can't run this query in Explorer with a non-null parameter. If I run it with null, I can see in Explorer that it looks at the relationshipType index first and in this ...

 
forum_thread

Get list of database files

Hi, we would like to know if there is any API we can use to get a list of all database files on an ObjectDB server. The ObjectDB explorer has such a feature (File->Open C/S Connection->Browse...). Thanks for help! ... all database files on an ObjectDB server. The ObjectDB explorer has such a feature (File->Open C/S Connection->Browse...). ... is an undocumented method, which is indeed in use by the Explorer: import java. io . File ;   import com. ...

 
forum_thread

Is there any GUI for creating/editing entity?

Hi, I'm new for JPA/JDO. How should I create/edit entity class? Is there any GUI?   In my searching easily, there is the jpa function of myeclipse, or Dail. http://www.myeclipseide.com/documentation/quickstarts/jpa/ http://www.eclipse.org/webtools/dali/   Please tell me your method usually for creating/editing entity and JPA/JDO things. I'm expecting the one like MySQL Workbench.    TIA :) ... 07:01 Some Explorer features that were available in ObjectDB 1.0 are temporarily disabled ... This includes the ability to edit database files in the Explorer. These features are expected to be enabled again soon in ...

 
tutorial

Step 7: Run the Spring Web App

Shows how to run the Eclipse Spring MVC JPA web application.... by right clicking the project node (in the [Project Explorer] window), selecting  Run As > Run on Server , selecting the ... server and open the database file in  ObjectDB Explorer : This is the end of the tutorial. ...

 
forum_thread

Undeploying Glassfish web application does not disconnect from ObjectDB

Glassfish3.1.1 Netbeans7.1 ObjectDB 2.3.7_19 If I deploy a web application to Glassfish using ObjectDB as JPA provider, then undeploy, I can't access the database file in the ObjectDB explorer, the explorer claims the database file is being accessed by another process. If I restart Glassfish I can open the database file in the ObjectDB explorer ok. ... I can't access the database file in the ObjectDB explorer, the explorer claims the database file is being accessed by another process. If I ...