[#3420] NullPointerException when generating code for Oracle AQ Tables

This commit is contained in:
Lukas Eder 2014-07-18 12:55:07 +02:00
parent 630522254c
commit 33eebc5d16

View File

@ -89,7 +89,7 @@ public class DefaultDataTypeDefinition implements DataTypeDefinition {
// [#650] TODO Use the central type registry to find the right
// data type instead of pattern matching
if (typeName.toLowerCase().matches(".*?(char|text|lob|xml|graphic|string).*?")) {
if (this.typeName.toLowerCase().matches(".*?(char|text|lob|xml|graphic|string).*?")) {
precision = null;
scale = null;
}