About Explorer

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 ...

 
manual

General Settings and Logging

Describes general configuration and logging of the ObjectDB Java object database for JPA and JDO. the ObjectDB General configuration section.... of the recently accessed database urls for use by the Explorer . The size attribute specifies the maximum size of ... the url makes accessing recently used databases in the Explorer easier. The <log> element <log path = ...

 
forum_thread

How to change properties in urls2.xml?

Hello, I am using objectdb in an embedded case with network private access to each database. I see it exists a file name "urls2.xml". <url><main>/var/lib/tomcat7/db/myDb.odb;user=admin;password=admin</main><alt>objectdb://127.0.0.1:38059/;user=$code;password=a2e54ea3-d889-41a7-953c-dabc42877742</alt></url> This file is autogenerated by objectdb. And it describes the locals databases url and their port / user / password properties. ... just to enable opening recent connections easily in the Explorer. It is not used by ObjectDB outside the Explorer, so just changing its properties will probably not help you. ...

 
manual

[ODB1] Chapter 8 - ObjectDB Server

An ObjectDB server can manage one or more databases. Databases that are managed by a server can be accessed by multiple processes simultaneously. In addition, the server supports accessing these databases from remote machines by TCP/IP. More details about client server mode vs. embedded database mode are discussed in Section 1.2.... user permission to view the directory content (using the Explorer). Additional permissions are granted using the <permissions> ... of that directory. The <admin> element The Explorer supports editing the server configuration visually, but this operation ...

 
forum_thread

Compare old and new schema

Hello, I have an old database file with important data. Over time, I have modified some of the entity classes but did not keep track of the changes. Some fields may have been renamed or removed, some classes may have been renamed or changed package. Is there a way for me to check what "format" the entity classes have in the old database file and compare that with the new classes definitions?   Thanks, farid ... one. However, you can open the old database in the Explorer (without entity classes in the classpath) and view the content of the ... takes place correctly. Could you tell me how the explorer gathers the information about the data stored in the database when ...

 
release

2.2.1

... 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

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 ...

 
release

2.0.1

... of instances of non enhanced classes. Added Explorer support of ID / version / inverse (mapped by) fields. Fixed Explorer bug in closing database files. Fixed cascading through ...

 
release

2.0.0

... of instances of non enhanced classes. Added Explorer support of ID / version / inverse (mapped by) fields. Fixed Explorer bug in closing database files. Fixed cascading through ...