Created
December 22, 2010 13:15
-
-
Save pschyska/751484 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private boolean isColumnTrimmable(int paramInt) | |
throws SQLException | |
{ | |
switch (this.fields[(paramInt - 1)].getSQLType()) | |
{ | |
case -4: | |
case -3: | |
case -2: | |
case -1: | |
case 1: | |
case 12: | |
return true; | |
case 0: | |
case 2: | |
case 3: | |
case 4: | |
case 5: | |
case 6: | |
case 7: | |
case 8: | |
case 9: | |
case 10: | |
case 11: | |
} | |
return false; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment