-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
When a converter is missing in the used configuration, the error message does not show the table name and column which causes the error. Here a stack trace of my actual error
Exception in thread "main" java.lang.RuntimeException: java.lang.IllegalArgumentException: No converter for SQL type 'TIME'.
at com.w11k.lsql.cli.java.JavaExporter.fetchMetaDataForAllTables(JavaExporter.java:62)
at com.w11k.lsql.cli.java.JavaExporter.<init>(JavaExporter.java:39)
at com.w11k.lsql.cli.Main.<init>(Main.java:55)
at com.w11k.lsql.cli.Main.main(Main.java:80)
Caused by: java.lang.IllegalArgumentException: No converter for SQL type 'TIME'.
at com.w11k.lsql.converter.ConverterRegistry.getConverterForSqlType(ConverterRegistry.java:24)
at com.w11k.lsql.LSql.getConverterForSqlType(LSql.java:302)
at com.w11k.lsql.LSql.getConverterForTableColumn(LSql.java:352)
at com.w11k.lsql.Table.fetchMeta(Table.java:597)
at com.w11k.lsql.Table.<init>(Table.java:51)
at com.w11k.lsql.LSql.tableBySqlName(LSql.java:183)
at com.w11k.lsql.cli.java.JavaExporter.fetchMetaDataForAllTables(JavaExporter.java:59)
... 3 more
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels