Patches: Browse | Submit New | Admin

[#20213] activerecord-jdbc: support oracle xmltype

Date:
2008-05-18 14:52
Priority:
3
Submitted By:
Robert Hwang (roberth)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
activerecord-jdbc: support oracle xmltype

Detailed description
Requires 

ojdbc14.jar
xdb.jar
xmlparserv2.jar

to run.

Uses reflection to invoke, so should compile without those jars.

Oracle defines an opaque type with jdbc type value 2007.  If you have the xdb.jar and xmlparserv2.jar in your path,
getObject returns an object of type oracle.xdb.XMLType which has a method getStringVal that returns the result as a
string, which the patches uses.


Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
JdbcAdapterInternalService.java Download

Changes:

Field Old Value Date By
File Added3741: JdbcAdapterInternalService.java2008-05-18 14:52roberth