Releases: j256/ormlite-android
Releases · j256/ormlite-android
6.1
6.0
- ALL: Added support for Java 7. Dropped support for Java 6.
- ALL: Migrated to supporting AutoCloseable. Most close() methods now throw Exception not IOException.
- CORE: Removed some Deprecated methods that had been with us for a while.
- CORE: Added closeable-spliterator for better handing of JDK8+ streams. Thanks to zhemaituk.
- CORE: Add Dao.queryForFirst() convenience method.
- ANDROID: ormlite-android jar now includes the -core classes. No need to import ormlite-core jar anymore.
5.7
- CORE: Fixed possible thread issue around field-name lookups. Thanks to dlew.
- CORE: Fixed a number of flaky tests based on field order. Thanks CharlesZKQ, NanaOkada, hwang-pku, and chimo173.
- CORE: Upgraded SimpleLogging code to fix annoying startup messages. Thanks to JayDi85.
- CORE: Removed broken getCreateTableStatements(DatabaseType, ...). ConnectionSource needed. Thanks to blacatena.
- CORE: Added WrappedConnectionSource and other support classes for tracing unclosed connections and statements.
- CORE: Added better support for JDK8+ streams with lazy foreign collections. Thanks to zhemaituk.
- ANDROID: Fixed bug in number rows affected with executeUpdateDelete() in newer API versions. Thanks to WonShaw.
5.6
5.5
- CORE: Added support for java.util.Currency. Thanks for juur.
- ANDROID: Fixed bug in AndroidLogBackend. Thanks to sanderderks.
5.4
- CORE: Added LoggerFactory.setLogFactory() for supporting other log implementations and added NullLog.
- CORE: Migrated the internal logging code to SimpleLogging.
- CORE: Updated H2 version which shook lose a couple of issues in tests and core support.
- CORE: Added UPDATE and DELETE database-dependent support for TOP and LIMIT. Thanks to juur.
5.3
- CORE: More improvements to the TransactionManager connection and savepoint handling.
- CORE: Added a getInternalConnection() method to DatabaseConnection to access underlying objects.
- CORE: Added support for ORDER BY ... NULLS FIRST and LAST. May not be supported by all database types.
- CORE: Added optimization to AND and OR queries to reduce the parens in the generated query. Thanks to devjta.
- CORE: Removed some extraneous spaces from generated queries.
- CORE: Added missing wiring for the TIME_STAMP_STRING data type for storing Timestamp type as a string.
- CORE: Added support for OneToMany JPA annotation. Thanks to Bo98.
5.2
- CORE: Added support for @DatabaseField(readOnly) boolean for returning non-column fields.
- CORE: Added @DatabaseField(fullColumnDefinition) for fully describing a column as opposed to columnDefinition.
- CORE: Added BaseSchemaUtil to print out the schema statements necessary to create a table.
- CORE: Added the ability for users to set a character set for byte array type. Thanks to noordawod.
- CORE: Added a Logger.setGlobalLogLevel(...) method to set a global filter on all log messages.
- CORE: Moved from RETURN_GENERATED_KEYS to named columns for generated ids to be more compatible. Thanks to Bo98.
- CORE: Significant refactoring to make FieldType and TableInfo not depend on Dao or ConnectionSource.
- CORE: Improved memory usage by unregistering DAOs associated to a connection source. Thanks to bosborn.
- CORE: Fixed problem with null field assignment causing a NPE in the resulting message. Thanks to hrach.
- CORE: Fixed problems with the transaction level thread-local not being handled right. Thanks to Bo98.
- CORE: Fixed @DatabaseField(fullColumnDefinition) which was completely broken. Thanks to ethanmdavidson.
- CORE: Fixed default width not being applied for BigInteger. Thanks to Bo98.
- CORE: Fixed the default mysql driver and made driver loading more forgiving. Thanks to zanella.
- CORE: Fixed a couple of incorrect SqlTypes in field converters. Thanks to Bo98.
- CORE: Support schema name qualifiers for tables. Thanks to Fedor Bobin.
- CORE: Fixed concurrency issues when using iterators. Thanks to MarcMil.
5.1
- CORE: Added synchronized keyword to BaseDaoImpl.createOrUpdate() and createIfNotExists().
- CORE: Added integer date support. Thanks to noordawod.
- CORE: Added support for CloseableIterator.moveAbsolute(...). Thanks to renaudcerrato.
- CORE: Fixed but with get table name not using TableInfo. Thanks to 0xabadea.
- CORE: Fixed handling of field capitalization which was screwing up Turkish fields. Thanks to folkyatina.
- CORE: Fixed handling of joined queries with orders and group by's. Thanks much to p91paul.
- CORE: Fixed bad bug with committing of inner transactions inappropriately. Thanks much to maroux.
- CORE: Normalized all of the up/down case usage to the DatabaseType so it can be overridden.
- ANDROID: Added field sorting for more deterministic config file output. Thanks to jibidus.
5.0
- ALL: ORMLite has dropped support for Java 5. Java 6 is now required.
- ALL: Added boolean argument to DatabaseConnection.compileStatement(...) to fix a cache bug.
- ALL: Changed DatabaseResults.getObjectCache() to be getObjectCacheForRetrieve() and getObjectCacheForStore().
- CORE: Added JOIN-ing between tables without a foreign-object relationship.
- CORE: Added TimeStampStringType to support Android timestamps.
- CORE: Added the ability to override the DataPersister as well as the FieldConverter.
- CORE: Added support for the @table entity from javax.persistence annotations. Thanks to wener. Bug #174.
- CORE: Added used of java.io.Closeable to support CloseableIterator and other Java7 support. Thanks to livelazily.
- CORE: Added Dao.create(Collection) method for bulk creation. Thanks to Farrukh Najmi for the good idea.
- CORE: Added DataType.BOOLEAN_CHAR (to support '1' '0' or 't' 'f') and BOOLEAN_INTEGER. Thanks to stew.
- CORE: Added support for QueryBuilder.countOf("DISTINCT(field)"). Thanks to spacetime.
- CORE: Added support for Java 8 methods. Thanks to VincentFTS.
- CORE: Added support for Joda DateTime to be able to be a version field. Thanks much to outofrange.
- CORE: Added support for raw queries using the DatabaseResults in the mapper. Thanks much to nonameplum.
- CORE: Added support for ENUM_TO_STRING type which persists Enum.toString() instead of name(). Thanks jiajia-li.
- CORE: Added support for BigInteger to be an ID and version field by saving as string. Thanks noordawod.
- CORE: Added support for BYTE_ARRAY and STRING_BYTE_ARRAY data type for ids and default values. Thanks noordawod.
- CORE: Added support for table aliasing. Thanks much to p91paul.
- CORE: Added table-name for many ConnectionSource methods to allow partitioning and other per-table operations.
- CORE: Added better support for per-database type object custom persisters. Thanks to rzorzorzo.
- CORE: Fixed (really) QueryBuilder.orderByRaw(...), orderBy(...) mutually exclusivity. Thanks to Diederik. Bug #161.
- CORE: Fixed a bug when we select columns on an entity without an id field. Thanks to lder.
- CORE: Fixed a bug with building queries using selectRaw(...). Bug #166.
- CORE: Fixed the javax.persistence annotation processing and revamped it to use the annotations directly.
- CORE: Fixed bug with UpdateBuilder methods returning wrong type. Thanks to Joseph Jones. Bug #180.
- CORE: Fixed bug with the raw results that they are not obeying the AS SQL. Thanks to nonameplum. Bug #183.
- CORE: Fixed bug with ISNULL and ISNOTNULL which weren't working with serializable. Thanks to andrew8er. Bug #185.
- CORE: Fixed bug with dao.update() not setting dao on BaseDaoEnabled instances. Thanks to Carlos Fonseca. Bug #177.
- CORE: Fixed bug where dao.deleteById(...) was not being properly notified. Thanks to Daniel Jette. Bug #190.
- CORE: Fixed bug where useGetSet did not understand isXxx() for boolean fields. Thanks to HeDYn. Bug #187.
- CORE: Fixed finding of get/set/is methods if not in English locale. Thanks to Christian Ruppert. Bug #191.
- CORE: Fixed bug with Doa.createOrUpdate(...) and custom id types. Thanks much to lstrzelecki. Bug #193.
- CORE: Fixed some problems with default-value parsing and handing with some complex types.
- CORE: Fixed synchronization problems with single connection ConnectionSource and Dao.callBatchTasks(). Bug #195.
- CORE: Fixed bad bug where max-auto-refresh value enabled auto-refresh when programmatically configured. Bug #196.
- CORE: Fixed bug where unknown enum name was not working with anonymous enum types. Thanks to jahd2602. Bug #197.
- CORE: Fixed a bug where the logger did not handle an array of primitives correctly.
- CORE: Fixed problem with capitalization of entities in non-english locales. ENGLISH now the default.
- CORE: Fixed problems with using @DatabaseField(foreignColumnName). Thanks to Knight704.
- CORE: Fixed problem with storing partially formed objects in cache because of select arguments. Thanks to pimduin.
- CORE: Fixed a bug in DatabaseFieldConfig constructor where it was ignoring DataType param. Thanks to magicgoose.
- CORE: Removed deprecated methods: Dao.setAutoCommit(boolean), isAutoCommit()
- CORE: Removed deprecated methods: QueryBuilder.clear(), limit(int), offset(int), use long versions of methods
- CORE: Removed deprecated methods: ForeignCollectionField.maxEagerForeignCollectionLevel(), foreignColumnName()
- CORE: Removed deprecated methods: DatabaseFieldConfig.setMaxEagerForeignCollectionLevel()
- CORE: Removed deprecated methods: DatabaseFieldConfig.setForeignCollectionMaxEagerForeignCollectionLevel()
- CORE: Removed deprecated methods: DatabaseFieldConfig.setForeignCollectionOrderColumn()
- CORE: Removed deprecated methods: DatabaseFieldConfig.setForeignCollectionForeignColumnName()
- ANDROID: Added initial take on Loader base classes from EgorAnd for newer Android versions. Thanks much!!
- ANDROID: Added better support for Slf4jLoggingLog from JDBC to CORE for Android users. Thanks to tonyxiao.
- ANDROID: Fixed the string processing when persisting java.sql.Timestamp and java.sql.Date classes. Bug #163.
- ANDROID: Fixed problem with the maxForeignAutoRefreshLevel config setting. Thanks to Eric Fung et al. Bug #194.
- ANDROID: Fixed possible problem with queryForFirst() and improper LIMIT implementation.
- ANDROID: Removed deprecated methods: OpenHelperManager.release(), AndroidDatabaseResults(Cursor, boolean, ObjectCache).