released version 4.40

7 views
Skip to first unread message

Gray Watson

unread,
Apr 16, 2012, 9:54:37 PM4/16/12
to
Ok, the bug that I was worried about looks to be fixed so we can push out the release. This is a bug fix release that impacts Android users significantly. Thanks much to Jeremy Stone for sending great feedback on these too issues.

* CORE: Fixed a couple of missing field configuration entries. Thanks to Jeremy Stone. Bug #3518474.
* CORE: Fixed a problem that was causing FieldType to always use reflection. Thanks to Jeremy Stone. Bug #3518472.

You can get the release via ORMLite:

http://ormlite.com/releases/

or via Maven once the sync finishes:

http://repo1.maven.org/maven2/com/j256/ormlite/

Or from sourceforge.net. Feedback always welcome.
gray

Gray Watson

unread,
Apr 16, 2012, 11:08:52 PM4/16/12
to
Thought I'd respond to the release announcement to provide more details. Jeremy Stone got me a stack trace the other day demonstrating that although he was loading his table-configs, ORMLite was still using reflection in some circumstances. It was easy to see where the problem was but it took me a bit of time to come up with the right solution.

In all cases where a class has a foreign field, reflection was being used to find the id field of the foreign field. Not good. This has been fixed and along the way the internal handling of DAOs that recursively create other DAOs (with foreign collections for example), has been improved. Anyone using the table-config files under Android with foreign fields should see a performance boost.

In addition, there were some fields from @ForeignCollectionField that were not properly being written or read from the table config files. You should make sure that you re-run your DatabaseConfigUtil programs after upgrading.

As always, feedback on the release is encouraged,
gray

Reply all
Reply to author
Forward
0 new messages