diff --git a/src/main/java/com/j256/ormlite/db/BaseDatabaseType.java b/src/main/java/com/j256/ormlite/db/BaseDatabaseType.java index e394bf447..96a62ea56 100644 --- a/src/main/java/com/j256/ormlite/db/BaseDatabaseType.java +++ b/src/main/java/com/j256/ormlite/db/BaseDatabaseType.java @@ -239,7 +239,7 @@ protected void appendShortType(StringBuilder sb, FieldType fieldType, int fieldW /** * Output the SQL type for a Java integer. */ - private void appendIntegerType(StringBuilder sb, FieldType fieldType, int fieldWidth) { + protected void appendIntegerType(StringBuilder sb, FieldType fieldType, int fieldWidth) { sb.append("INTEGER"); } @@ -253,14 +253,14 @@ protected void appendLongType(StringBuilder sb, FieldType fieldType, int fieldWi /** * Output the SQL type for a Java float. */ - private void appendFloatType(StringBuilder sb, FieldType fieldType, int fieldWidth) { + protected void appendFloatType(StringBuilder sb, FieldType fieldType, int fieldWidth) { sb.append("FLOAT"); } /** * Output the SQL type for a Java double. */ - private void appendDoubleType(StringBuilder sb, FieldType fieldType, int fieldWidth) { + protected void appendDoubleType(StringBuilder sb, FieldType fieldType, int fieldWidth) { sb.append("DOUBLE PRECISION"); }