Joined: Mon Aug 21, 2006 3:47 pm Posts: 4
|
Hi,
I am involved in a legacy web application re-write project using Hibernate. I'm using the following configuration in my new web based application which is based on Hibernate.
JBoss 4 server
Spring 2
Hibernate 3.2.4.GA
Oracle 10g database (10.2.0.2.0)
JDK 1.5
I have some database packages in Oracle which accept Oracle objects as input parameters and return data. The code in my old application is plain JDBC code and is NOT using hibernate. I need to get it working using Hibernate
That JDBC code makes use of the following Oracle objects and pass on an instance of java.sql.array to a database package. The other Oracle object types involved are
oracle.sql.StructDescriptor
oracle.sql.STRUCT
oracle.sql.ArrayDescriptor
oracle.sql.Array
1. Does any one know how to create these objects using Hibernate ? Or how can we work with these objects using Hibernate ?
2. Can we get access to a java.sql.connection object using hibernate ? Most of the constructors for creating the Oracle objects mentioned above take in a parameter of type java.sql.Connection.
Thanks in Advance.
|
|