Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exposed BaseDatabaseType's int, float and double type string appenders to protected #157

Merged
merged 1 commit into from
Dec 6, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/main/java/com/j256/ormlite/db/BaseDatabaseType.java
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}

Expand All @@ -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");
}

Expand Down