Skip to content

Releases: EvidentSolutions/dalesbred

v.1.2.3

01 Dec 08:23

Choose a tag to compare

New features

  • New convenience methods for QueryBuilder.

v1.2.2

15 Aug 09:38

Choose a tag to compare

New features

  • Add findOptionalInt, findOptionalLong and findOptionalDouble methods to Database.

v1.2.1

12 Apr 19:19

Choose a tag to compare

Bug fixes

  • org.slf4j:slf4j-api was marked as optional dependency in POM, although it's required.

v1.2.0

12 Apr 07:24

Choose a tag to compare

Changes

  • Use SLF4J instead of java.util.logging for logging (#25)

v1.1.0

27 Nov 20:24

Choose a tag to compare

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

29 May 11:30

Choose a tag to compare

Documentation

Changes from 1.0.0-rc.2

  • Relax SqlArray.of and SqlArray.varchars to accept any Collection instead of just Lists.

v1.0.0-rc.2

17 May 20:22

Choose a tag to compare

v1.0.0-rc.2 Pre-release
Pre-release

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 and TransactionalProxyFactory.
  • Removed support for transaction retries.

v1.0.0-rc.1

13 May 21:54

Choose a tag to compare

v1.0.0-rc.1 Pre-release
Pre-release

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 in TypeConversionRegistry 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

07 May 21:20

Choose a tag to compare

v1.0.0-alpha.4 Pre-release
Pre-release

New features

  • New updateBatchAndProcessGeneratedKeys for performing batch updates and returning generated keys. (#9)
  • Guide for migration from 0.x. (#6)

v1.0.0-alpha.3

06 May 19:38

Choose a tag to compare

v1.0.0-alpha.3 Pre-release
Pre-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.