Some improvements for Java interoperability

This commit is contained in:
2017-07-08 19:53:29 +02:00
parent 0478431c9c
commit 1a33f744d6
3 changed files with 4 additions and 1 deletions

View File

@ -23,7 +23,7 @@ import java.sql.PreparedStatement
/**
* Helper class that does Flyway migration, provides JDBC connections and some helper methods.
*/
abstract class JdbcHelper protected constructor(protected val config: JdbcConfig) {
abstract class JdbcHelper protected constructor(@JvmField protected val config: JdbcConfig) {
companion object {
@JvmStatic fun writeBlob(ps: PreparedStatement, parameterIndex: Int, data: Streamable?) {
if (data == null) {