Skip to content

v1.0.0-alpha.3

Pre-release
Pre-release

Choose a tag to compare

@komu komu released this 06 May 19:38
· 258 commits to main since this release

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 to org.dalesbred.conversion and removed TypedConversion from
    public API. Register conversion functions to TypeConversionRegistry instead.
  • Removed getCount from NonUniqueResultException so that its possible to throw the exception
    without reading all rows from database.
  • ResultTable.getColumnTypes() now returns Type-objects. New ResultTable.getRawColumnTypes
    returns raw Class<?> -objects. Similarly getType in ResultTable.ColumnMetadata now returns
    Type and raw class can be returned with getRawType.
  • Renamed VariableResolvers.resolverForMap/resolverForBean to VariableResolver.forMap/forBean.
  • Made TransactionContext an interface instead of abstract class.
  • Removed Database.createTransactionalProxyFor. Use TransactionalProxyFactory.createTransactionalProxyForinstead.
  • 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.