Skip to content

Releases: sproket/Persism

V2.3

20 Feb 12:59

Choose a tag to compare

  • Added support for limit
  • Added null checks for multi-column joins
  • Fixed case of a cleared list on a join if there was user added data
  • Baseline mysql 8.0.28
  • Baseline mariadb 3.1.2
  • Baseline H2 2.1.214
  • Baseline hsqldb 2.5.1 (tested with 2.7.1 as well)
  • Baseline posgresql 42.2.27
  • Baseline sqlite 3.42.0.0

V2.2.0

17 Sep 12:58

Choose a tag to compare

2.2.0

  • Added support for multiple schema names
  • Added delete with query methods to Session
  • Added "es" to table name guesser for tables like "Tax" or "Mailbox"
  • Added readOnly to Column annotation to allow for columns to not include in insert or update statements
  • Added Support for sequence types with MSSQL
  • Performance: Additional MetaData caching to reduce GC stress
  • Fixed SQLite misreported LONG as INT which was fixed and confirmed by version 3.39.3.0

V2.1.0

27 Mar 18:58

Choose a tag to compare

2.1.0

  • Implemented table joins!
  • Update log4j2 reference in POM to 2.17.1
  • Added warning if using a primary key on a View
  • Added support for fluent styled POJOs
  • Added support for transient keyword on fields (same behaviour as @NotColumn)
  • Performance: Converter Moved DateFormatters to ThreadLocal
  • Performance: Converter optimized switch statement
  • Performance: Improvements to Reader for class and record from DB
  • Updated baseline version for Derby to 10.15.2.0
  • Updated baseline version for SQLite to 3.36.0.2
  • Fixed some cases where property names were case-sensitive

V2.0.1

11 Dec 12:51

Choose a tag to compare

2.0.1

  • Update log4j2 reference in POM to 2.15.0
  • Experimental Join feature

V1.2.1

11 Dec 12:53

Choose a tag to compare

1.2.1

  • Update log4j2 reference in POM to 2.15.0

V2.0.0

29 Nov 13:48

Choose a tag to compare

2.0.0 Released

  • Set baseline to be Java 17 (see the 1.x branch for Java 8+)
  • Added SQL type wrapper for String
  • Added Parameters type wrapper for parameters array
  • Added better type safe query and fetch methods
  • Added SQL where method (shorthand where Persism knows the columns) which supports property names as well as column names
  • Added SQL proc method to indicate the query is a call to a stored proc rather than a SELECT statement
  • Added support for named parameters

V1.2.0

22 Aug 21:26

Choose a tag to compare

1.2.0

  • Added support for Views
  • Added query 'select *' method to session
  • Finalized support for Informix (Tests added)
  • Changed query statements to make explicit forward only and read only
  • Improve readRecord performance
  • Added BIT column to byte property conversion

V1.1.0

09 May 12:48

Choose a tag to compare

1.1.0

  • Added support for Records! (Java 16)
  • Added preliminary support for Informix (looking for help to set up a vbox vm)
  • Fixed UPDATE statement using columns in alphabetical order (All Persism generated SQL should be in column order)
  • Fixed support for MSAccess with UCanAccess jdbc driver in Java 16
  • Fixed issue with Queries cached with missing columns
  • Fixed @table name case sensitivity
  • Added warnings if Persism doesn't have results when querying for DatabaseMetaData

V1.0.3

20 Apr 09:14

Choose a tag to compare

1.0.3

  • Added support for MSAccess with UCanAccess jdbc driver (seems to be broken under Java 16 right now #13)
  • Added new method withTransaction() to Session - simplifying multiple operations in a single database transaction
  • Added automatic module name sproket.github.io.persism for 9+ support
  • Added support for Log4j 2

Breaking changes

  • Property discovery now sees properties with getters only as possible columns (considered read-only columns). You will need to use the @NotColumn annotation to avoid the "<table/query> was not properly initialized." Runtime exception. (this was done for future support for Records)
  • Persistable interface was changed. Renamed getOriginalValue method to readOriginalValue to avoid possible collision with read-only properties.

V1.0.2

20 Mar 18:17

Choose a tag to compare

  • Added detection of autoinc type for Oracle > 11 if using the form: "COLUMN_NAME" NUMBER GENERATED BY DEFAULT ON NULL AS IDENTITY
  • Added tests and warning for byte type since it's not consistently represented in different databases
  • Added basic 1st pass support for TestContainers using Docker
  • Removed String length check on INSERT and UPDATE statements
  • Fixed POM including unnecessary dependencies
  • Updated Tests to Junit 4