Releases: EvidentSolutions/dalesbred
Releases · EvidentSolutions/dalesbred
v.1.2.3
v1.2.2
v1.2.1
v1.2.0
v1.1.0
New features
- Allow annotating constructors with
@DalesbredInstantiator
to always use the
annotated constructor instead of trying to detect constructor automatically.
(#19) - Support binding arrays on Oracle, which does not support standard JDBC API.
- Add dialect for H2. (#20)
- Support property paths when binding (instead of just simple names). (#7)
v1.0.0
Documentation
Changes from 1.0.0-rc.2
- Relax
SqlArray.of
andSqlArray.varchars
to accept anyCollection
instead of justList
s.
v1.0.0-rc.2
New features
- Add support for registering custom key functions for native enums.
- Fail faster if registering native enum conversion on Dialect that does not support native enums.
Breaking changes
- Removed support for Guice and AOP Alliance.
- Removed
@DalesbredTransactional
andTransactionalProxyFactory
. - Removed support for transaction retries.
v1.0.0-rc.1
New features
- Simplified API for registering enum conversions through
TypeConversionRegistry
. (#14)
Breaking changes
- Database native enums are no longer the default because they depended on ugly hack to
guess the database type name. By default enums are bound using name, but you can use
methods inTypeConversionRegistry
to customize this. - Removed support for setting configuring default isolation level. If you need to set
the default isolation, set it for the connections at your connection-provider. - Removed
Database.getDialect
. There should not be a need to access the Dialect directly.
v1.0.0-alpha.4
v1.0.0-alpha.3
New features
- Generalized
findMap
to allow more than one column for instantiating the value. (Closes #2)
Breaking changes
- Removed
InstantiatorRegistry
,Instantiator
and related classes/methods from public API. - Moved
TypeConversionRegistry
toorg.dalesbred.conversion
and removedTypedConversion
from
public API. Register conversion functions to TypeConversionRegistry instead. - Removed
getCount
fromNonUniqueResultException
so that its possible to throw the exception
without reading all rows from database. ResultTable.getColumnTypes()
now returnsType
-objects. NewResultTable.getRawColumnTypes
returns rawClass<?>
-objects. SimilarlygetType
inResultTable.ColumnMetadata
now returns
Type
and raw class can be returned withgetRawType
.- Renamed
VariableResolvers.resolverForMap/resolverForBean
toVariableResolver.forMap/forBean
. - Made
TransactionContext
an interface instead of abstract class. - Removed
Database.createTransactionalProxyFor
. UseTransactionalProxyFactory.createTransactionalProxyFor
instead. - Removed accessors for isolation
Database
.Database.getTransactionManager
can be used to access
TransactionManager
for configuring these. - Removed support for configuring default propagation. Use propagation on per-transaction basis.