Package org.jumpmind.db.platform
Class DefaultValueHelper
java.lang.Object
org.jumpmind.db.platform.DefaultValueHelper
Helper class for dealing with default values, e.g. converting them to other types.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DefaultValueHelper
public DefaultValueHelper()
-
-
Method Details
-
convert
Converts the given default value from the specified original to the target jdbc type.- Parameters:
defaultValue
- The default valueoriginalTypeCode
- The original type codetargetTypeCode
- The target type code- Returns:
- The converted default value
-