@@ -139,6 +139,7 @@ | |||
<param name="-hdf"/> <param name="project.name"/> <param name="iciql"/> | |||
<!-- versioning --> | |||
<param name="-since"/> <param name="api/v1.xml"/> <param name="v1" /> | |||
<param name="-since"/> <param name="api/v${iq.apiPrevious}.xml"/> <param name="v${iq.apiPrevious}" /> | |||
<param name="-apiversion" value="v${iq.apiCurrent}"/> | |||
@@ -167,6 +168,14 @@ | |||
<echo>Building iciql binaries ${iq.version}</echo> | |||
<!-- delete any old artifacts --> | |||
<delete> | |||
<fileset dir="${basedir}"> | |||
<include name="*.jar"/> | |||
<include name="*.zip"/> | |||
</fileset> | |||
</delete> | |||
<!-- library jar --> | |||
<jar destfile="${library.jar}"> | |||
<manifest> |
@@ -25,7 +25,7 @@ public class Constants { | |||
// The build script extracts this exact line so be careful editing it | |||
// and only use A-Z a-z 0-9 .-_ in the string. | |||
public static final String VERSION = "0.6.2"; | |||
public static final String VERSION = "0.6.3"; | |||
// The build script extracts this exact line so be careful editing it | |||
// and only use A-Z a-z 0-9 .-_ in the string. | |||
@@ -33,10 +33,10 @@ public class Constants { | |||
// The build script extracts this exact line so be careful editing it | |||
// and only use A-Z a-z 0-9 .-_ in the string. | |||
public static final String API_CURRENT = "2"; | |||
public static final String API_CURRENT = "3"; | |||
// The build script extracts this exact line so be careful editing it | |||
// and only use A-Z a-z 0-9 .-_ in the string. | |||
public static final String API_PREVIOUS = "1"; | |||
public static final String API_PREVIOUS = "2"; | |||
} |
@@ -197,8 +197,13 @@ class ModelUtils { | |||
} | |||
Class<?> mappedClass = null; | |||
for (Class<?> clazz : SUPPORTED_TYPES.keySet()) { | |||
if (SUPPORTED_TYPES.get(clazz).equalsIgnoreCase(sqlType)) { | |||
if (clazz.isPrimitive()) { | |||
// do not map from SQL TYPE to primitive type | |||
continue; | |||
} | |||
if (SUPPORTED_TYPES.get(clazz).equalsIgnoreCase(sqlType)) { | |||
mappedClass = clazz; | |||
break; | |||
} | |||
} |