doma-codegen-plugin
doma-codegen-plugin copied to clipboard
cannot be generated from h2 with "tableNamePattern" parameter.
OK
domaCodeGen {
// make an arbitrary named block
dev {
url = 'jdbc:h2:file:./work/db/db;MODE=MySQL'
// tableNamePattern = 'm.*'
}
}
NG:> [DOMAGEN0005] Cannot get any tables. Check parameters such as url, schemaName, tableNamePattern and so on.
domaCodeGen {
// make an arbitrary named block
dev {
url = 'jdbc:h2:file:./work/db/db;MODE=MySQL'
tableNamePattern = '^m.*'
}
}