You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a crucial component and should be handled with care and tests. Better to address one dialect at a time.
Here the changes required.
Change package name to com.homihq.db2rest.jdbc.dialect
Review method processTypes to ensure that there is no missing data type. This method converts incoming data attributes from REST API into data attributes with proper types that database understands. Typically JDBC drivers provide such mapping of Java types to DB data types.
The SQL builder must consult this class to get the SQL generation template files. There is need for a new method that takes in a key and returns the appropriate files as a resource. The dialect class can cache these resources.
The reverse data type change - i.e when data is fetched from DB the JDBC type to Java type conversion or any formatting needs to happen in this class.
I would suggest treating this as an epic and creating smaller stories per database to implement these 5 changes.
The text was updated successfully, but these errors were encountered:
@stephanpio1 - done, let us know what you think. May be implement this in small steps 1 change at a time and add tests to validate and endure no integration test is fails.
This is a crucial component and should be handled with care and tests. Better to address one dialect at a time.
Here the changes required.
com.homihq.db2rest.jdbc.dialect
processTypes
to ensure that there is no missing data type. This method converts incoming data attributes from REST API into data attributes with proper types that database understands. Typically JDBC drivers provide such mapping of Java types to DB data types.I would suggest treating this as an epic and creating smaller stories per database to implement these 5 changes.
The text was updated successfully, but these errors were encountered: