About new

release

2.5.3

... level logging of query execution. Added a new temporary system property ("objectdb.temp.quick-file") to accelerate db ... rebuilding to use NULL values for missing values of new fields. Fixed a bug in UPDATE queries. Fixed a ...

 
forum_thread

Double persist of Entity field with Cascade.ALL

I am building a JavaEE application using Netbeans 7.0.1, Glassfish 3.1 and ObjectDB 2.3.3. I have a Book class with entity field Chapter which has a CascadeType.ALL property. The Book fields are as follows: @Id @GeneratedValue(strategy = GenerationType.AUTO) private Long id; private String bookTitle; @OneToMany(cascade= CascadeType.ALL, fetch= FetchType.EAGER) private List<Chapter> chapters; The Chapter fields are as follows: ... Book class on the client side (i.e. by adding or removing new Chapters), merging the Book class on the server side should result in new and modified Chapters being persisted and merged accordingly. This ...

 
release

2.4.3

... show null values in primitive fields (unset values in new fields) correctly. Fixed a bug in clearing embedded objects ... 2.4.1 Fixed a bug of  duplicating new objects during merge . Fixed a username/password issue in ...

 
release

2.4.2

... show null values in primitive fields (unset values in new fields) correctly. Fixed a bug in clearing embedded objects ... 2.4.1 Fixed a bug of  duplicating new objects during merge . Fixed a username/password issue in ...

 
forum_thread

Updating Entities

Hello, I'm currently writing a program using JavaFX and ObjectDB and I'm encountering a problem with Entities not sending their updates to each other. I have two Entities in question at the moment: Employee and Paygrade. ... id. setCellValueFactory ( itemData - > new ReadOnlyStringWrapper ( itemData. getValue ( ) . ... ) ; id. setCellFactory ( c - > new TableCell<Employee, String> ( ) { @ ...

 
forum_thread

Reading 1.x odb files in ObjectDB 2.x without upgrading

Hi, We have a problem in the backward compatibilty in our software as once we have migrated object db odb file from version 1.x to 2.x, user is unable to open the odb files in the application which is having object db 1.x installed. Is there any way to read odb files from 1.x in object db 2.x without upgrading it ? Or user can see the content in read only mode without upgrading it ? Thanks ... com. objectdb . Converter . main ( new String [ ] { oldOdbFileName, newOdbFileName } ... no row was present the odb file.  But when i deleted new old file and tried again using converter, it worked fine. Now, i ...

 
api-jdo

javax.jdo.spi.PersistenceCapable

A class that can be managed by a binary-compatible JDO implementation must implement this interface.(Interface of JDO)

 
forum_thread

Weird behaviour with enhanced classes and embedded entities

Hi, I've found some weird behaviour in my project (www.tinymediamanager.org): Sometimes some entries of my ArrayLists with embedded entities are missing. I've hunted the problem down to an enhanced/proxied list in my entity which contains embedded entities and some .add(obj) are simply failing. Here is a small sscce which reproduces the issue: ... embeddedEntities = new ArrayList<MyEmbeddedEntity> ( 0 ) ;   ... embeddedEntities = new ArrayList<MySecondEmbeddedEntity> ( 0 ) ; ... entity with embedded entities Runnable task1 = new Runnable ( ) { @ Override ...

 
tutorial

Step 4: Add a Servlet Class

Explains how to define an EJB session bean in a NetBeans Java EE 6 web application.... to manage guestbook web requests: Open the [New Servlet] dialog box by right clicking the guest package node (in the [Projects] window) and selecting New > Servlet ... Enter GuestServlet as the class name ...

 
release

2.3.7

... of non ASCII string indexes. Fixed the new query HOUR function to return hours as 0 to 23 (using 24-hour clock). ... bug in the default fetch policy. Fixed a new bug in retrieving byte[] ( issue #120 ). Fixed a bug in ...