released version 4.28

4 views
Skip to first unread message

Gray Watson

unread,
Oct 23, 2011, 10:10:36 PM10/23/11
to ormlit...@googlegroups.com, ormli...@googlegroups.com, ormlite-android
Couple new features and some bug fixes.

* CORE: Added Dao.countOf(PreparedQuery) and QueryBuilder.setCountOf(true). Thanks to Pedro Velasco.
* CORE: Added QueryBuilder.rawColumns(String... columns) to better support aggregates. Thanks to Pedro Velasco.
* CORE: Added support for @DatabaseField(version=true) and row version field for numbers and Date's. Cool.
* CORE: Fixed a field that was missing transient, making LazyForeignCollection not serializable. Fixes bug #3426884.
* ANDROID: Added OrmLiteSqliteOpenHelper.getRuntimeExceptionDao(). Thanks to João Bosco. Resolves feature #3425272.
* JDBC: Fixed a spin loop in the JdbcPooledConnectionSource. Thanks to Ali Aksakarya. Fixes bug #3426903.

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

Craig Andrews

unread,
Oct 25, 2011, 3:39:22 PM10/25/11
to ormli...@googlegroups.com, ormlite-android
> Couple new features and some bug fixes.
[snip]

> * ANDROID: Added OrmLiteSqliteOpenHelper.getRuntimeExceptionDao(). Thanks
> to Jo�o Bosco. Resolves feature #3425272.

This is revision 2053.
http://ormlite.svn.sourceforge.net/viewvc/ormlite/ormlite-android/trunk/src/main/java/com/j256/ormlite/android/apptools/OrmLiteSqliteOpenHelper.java?r1=2053&r2=2052&pathrev=2053

You changed the signature of getDao from:
public <D extends Dao<T, ?>, T> D getDao(Class<T> clazz)
to:
public <T, ID> Dao<T, ID> getDao(Class<T> clazz) throws SQLException

Which is a breaking change. Why did you make that change? Can it be
changed back?

Thanks,
~Craig

Reply all
Reply to author
Forward
0 new messages