About properties

forum_thread

ObjectDB within a resource adapter module and Java EE Connector Architecture

Has anybody managed to use ObjectDB in a resource adapter module in accordance with the Java EE Connector Architecture so that it may be packaged separately from (but used by components of) an EJB Module after the pattern of the classic EAR File structure as illustrated in the Java EE 7 tutorial in Figure 5-1 EAR File Structure ? #1 2016-11-19 11:19 Has anybody managed to use ObjectDB in a resource adapter module in accordance with the Java EE Connector Ar ...

 
release

2.2.8

... . Fixed a bug in using persistent properties with incomplete enhancement. Version 2.2.2 ...

 
forum_thread

Extra uninitialised entities spawned on merge()

In the following, Element is a base entity class, with a bi-directional @ManyToOne-@OneToMany relationship Element owner - List<Element> ownedElements, and Example is a subclass entity with a relationship @OneToOne Element child. #1 2012-06-05 03:25 In the following, Element is a base entity class, with a bi-directional @ManyToOne-@OneToMany relationship Elem ...

 
forum_thread

significant performance decrease

we are using objected in embedded mode (on OS X and WINDOWS). The database increased now to around 400000 entities of one class (database file size around 1.5 GByte). The response time of standard queries increased with this database size to an unacceptable rate (several seconds compared to around 30% when the number of entities was just half of the current). We tried to optimize the cache settings, current objectdb.conf is: <!-- ObjectDB Configuration --> <objectdb> ... ) public List<ObjectProperty> properties = new ArrayList<ObjectProperty> ( ) ; ...

 
forum_thread

Query vs Extent for retrieving data

I'm running into a problem where data that is retrieved via a Query comes out null, but when I retrieve it using an Extent everything is present. We have a very simple class: public class PositionReportManagerBean implements InstanceCallbacks { private int maxReports; private List<PositionReportBean> reports; } I have a test file with 5 instances of PositionReportManagerBean, each with maxReports set to 10 and 5 PositionReportBeans in reports. I can verify with the ObjectDB explorer that all of the data is there. If I call ... I need to set on the PersistenceManager? Right now my Properties that I use to initialize the PersistenceManagerFactory have ...

 
forum_thread

Possible issue with LAZY Loading

Hi, We need lazy loading for one of our large data sets. When I run currently against both 2.4.2 and 2.4.3_01 the db is always returning everything, including the data marked as Fetch.LAZY.  I wrote the attached unit test, and then found this: http://www.objectdb.com/database/forum/9 As far as I can tell, my unit test is pretty much identical. Not sure why this doesn't work. Thanks Paul. #1 2012-09-13 01:43 Hi, We need lazy loading for one of our large data sets. When I run currently against both 2.4.2 and 2.4. ...

 
forum_thread

Recursive calls with @PreUpdate annotation and Glassfish OutOfMemoryError

Hi,    I've had an issue that started today and it's got me stumped. I've got a subclass User, which extends a BaseEntity. The BaseEntity has a @PreUpdate as per: #1 2011-07-07 16:55 Hi,    I've had an issue that started today and it's got me stumped. I've got a sub ...

 
forum_thread

Wrong data stored in date only fileds

Hi, the following query returns records with startDate of 24/10/2015 before records with startDate of 25/10/2015: SELECT r from RecordingMetaData AS r ORDER BY r.startDate DESC, r.startTime DESC, r.channelNumber DESC If we place the same data in an SQL database and run the following query we get the records in the expected order, i.e. records with startDate of 25/10/2015 before records with startDate 24/10/2015: ... forum thread , but it should not generate new fields or properties. You may however need to rebuild your project for this new ...

 
release

2.2.7

... . Fixed a bug in using persistent properties with incomplete enhancement. Version 2.2.2 ...

 
issue

ObjectDB enhancement fails on "is" form for @Transient boolean isLoaded(), ok for "getter" form @Transient boolean getLoaded()

Older objectdb-2.4.0_06, Java6. For the following (note the use of "is" form) in a class Element I encounter ObjectDB enhancement errors: ... on "is" methods of boolean  persistent JavaBean properties have been ignored by ObjectDB after enhancement due to an internal ...