Skip to content

Releases: qualified-cactus/SqlObjectMapper

3.1.0

14 Feb 15:50
1027e4f
Compare
Choose a tag to compare
  • Added several overloaded methods for Connection.prepareNpCall
    and Connection.prepareNpStatement to match its Connection.prepareStatement and Connection.prepareCall equivalent.

  • Added and DeclaredGeneratedKeys, NpStatement.executeUpdateWithGeneratedKeys and NpStatement.getGeneratedKeysList
    to support getting generated key(s) from insert statement.

  • Added ResultSet.toScalarList (or ResultSetParser.parseToScalarList for java users)
    to support getting a list of values from a single columns.

3.0.0

12 Feb 03:33
92c8bf4
Compare
Choose a tag to compare

Breaking Change

Changed the signature of RsValueConverter.convert from convert(value) to convert(value, propertyType)
so that you can reuse a converter to convert to different types.

Additional feature

Added RsStringToEnumConverter and ParamEnumToStringConverter to be used with enum values.

2.0.1

08 Feb 14:39
7cc830d
Compare
Choose a tag to compare

Rewrote code and improved performance.

1.1.0

31 Oct 13:21
51e4c24
Compare
Choose a tag to compare

Added a way to specify default class mapping provider globally

1.0.0

31 Oct 06:30
Compare
Choose a tag to compare

Full release, tested and benchmarked.