
|
If you were logged in you would be able to see more operations.
|
|
|
|
This makes it easier to have several custom dialects with work properly with the SDOGeometryType.
See the discussion with Witteveen:
"I'm trying to use the hibernatespatial 1.1M, but im was running into problems:
- in 9i i could not insert NULL values into a geom field
- in oracle XE, fields were created from the wrong type
In order to fix this i needed to patch the file SDOGeometryType.java
and change the variable SQL_TYPE_NAME from private into package
accesability:
Index: SDOGeometryType.java
===================================================================
--- SDOGeometryType.java (revision 96)
+++ SDOGeometryType.java (working copy)
@@ -75,7 +75,7 @@
private static final int[] geometryTypes = new
int[] { Types.STRUCT };
- private static String SQL_TYPE_NAME = "SDO_GEOMETRY";
+ static String SQL_TYPE_NAME = "SDO_GEOMETRY";
@Override
public void nullSafeSet(PreparedStatement st,
Object value, int index)"
|
|
Description
|
This makes it easier to have several custom dialects with work properly with the SDOGeometryType.
See the discussion with Witteveen:
"I'm trying to use the hibernatespatial 1.1M, but im was running into problems:
- in 9i i could not insert NULL values into a geom field
- in oracle XE, fields were created from the wrong type
In order to fix this i needed to patch the file SDOGeometryType.java
and change the variable SQL_TYPE_NAME from private into package
accesability:
Index: SDOGeometryType.java
===================================================================
--- SDOGeometryType.java (revision 96)
+++ SDOGeometryType.java (working copy)
@@ -75,7 +75,7 @@
private static final int[] geometryTypes = new
int[] { Types.STRUCT };
- private static String SQL_TYPE_NAME = "SDO_GEOMETRY";
+ static String SQL_TYPE_NAME = "SDO_GEOMETRY";
@Override
public void nullSafeSet(PreparedStatement st,
Object value, int index)"
|
Show » |
| There are no comments yet on this issue.
|
|