Skip to content

Changelog

1.16-SNAPSHOT (in progress)

  • TODO support stored procedures with return value
  • TODO if two methods use the same return class, check if they are identical
  • TODO support stored procedures with custom parameter type

1.15.1

  • Fix Type detection for MySQL Text and (Big,Small,Medium,Tiny-) Int

1.15

  • Remove newlines in Queries
  • Fix char(n) for Mssql

1.14

  • Big Refactoring: Don't wrap the java.sql.Connection in the Class, use it as argument for each method, so the Caller is responsible for opening/closing. Wrap all preparted Statements in a try-with-resources block so they get closed propery. This breaks compatibility to previous versions!

1.13

  • Fix: Some drivers do not support IS_GENERATEDCOLUMN, which broke Upsert
  • Fix: Some dependencies were missing when running with Java 11, which caused NetBeans CompileOnSave to not work

1.12

  • Fix: ignore auto-increment and generated columns for insert and upsert
  • Fix: include jilt library in jar (shaded) so no dependency to jcenter is needed

1.11

  • Allow multiple Strings in most annotations (for params and returns), Join with ',' without breaking compatibility
  • Support reading Spring Boot's application.yml for configuration
  • Upsert supports onlyUpdate parameter in order to only update a few fields instead of all non-keys
  • Fix: Allow writing null parameters for Timestamp and BigInteger columns
  • Do not write ERRORS, but MANDATORY_WARNINGs so the code still get's compiled an error in one file does not break the whole projects. Since we do not generate methods with errors in the annotations, this will still result in a compiler error if the generated code is used, so this makes more sense (even if it is only shown as yellow warning instead of red error in netbeans

1.10

  • Interpret Mysql datatype json as String
  • Do not use primitives to indicate non-nullability. It is not clean because it only works for numeric types and booleans and makes problems with insert etc
  • Do always capitalize getters/setters (otherwise we have problems with JSF). But for proper serialization/deserialization add the possibility to add Jackson Annotations

1.9

  • better caching (cache table names, procedure names etc)
  • some fixes regarding to getter/setter names
  • Fix SQL Parameter detection for not detecting stuff like %h:%i

1.8 First version on maven central