Hi thomas
I a recent mail you were taking about a code review to improve performance.
I once notice that in JdbcAccess you have a static method
getJdbcType that goes thru a bunch of if, else if, and string comparison to return the
sqltype of a field.
I think that the sqltype could be calculated when the repository is build and stored in the field
Class
instead of storing the String name of the sqltype.
I don't know how often this method get called, so I'm not sure it will improve the performance a
lot but
it also has the advantage of discovering problems with not supported sql type as soon as the
repository is build.
(I prefer to be told about problems as soon as possible).
Best regards
Bertrand
|