Skip to content

Unsorted

The search order for converter etc. is always the same:

  • method
  • interface
  • package
  • config
  • default values from KaumeiJDBC (hard coded)
  • if annotations show up at places we do not assume: we ignore them by JdbcNoRows
  • if annotations show up we assume and have errors: we will throw an UnsupportedOperation exceptions

The following annotation are only processed at interfaces methods, which are not default.

  • @JdbcNative (type)
  • @JdbcSelect (type)
  • @JdbcUpdate (type)

To define common converter we support two annotations.

  • @JdbcToJava (type, method)
  • @JavaToJdbc (type, method)

You can place the annotation at static methods which have the visibility public or package. You can move the annotation to the type, in this case all valid methods will be tread as converter.

  • @JdbcConstructorAnnotations (type)

Currently not used:

  • @JdbcConfig
  • @JdbcNameMapping