Browse Source

Do not generate primitive mappings. Prepare v0.6.3 release.

tags/v0.6.3^0
James Moger 13 years ago
parent
commit
05097c891a
4 changed files with 4662 additions and 4 deletions
  1. 4644
    0
      api/v3.xml
  2. 9
    0
      build.xml
  3. 3
    3
      src/com/iciql/Constants.java
  4. 6
    1
      src/com/iciql/ModelUtils.java

+ 4644
- 0
api/v3.xml
File diff suppressed because it is too large
View File


+ 9
- 0
build.xml View File

@@ -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>

+ 3
- 3
src/com/iciql/Constants.java View File

@@ -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";
}

+ 6
- 1
src/com/iciql/ModelUtils.java View File

@@ -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;
}
}

Loading…
Cancel
Save