Thank you Scott - your speedy response is appreciated - I will try it 
first thing tomorrow.


Regards

Alan


On 20/09/2011 17:41, Scott Ferguson wrote:
> On 09/20/2011 09:12 AM, Alan Wright wrote:
>    
>> I am migrating from 2 to 4.00.22
>>
>> We make use of OraclePreparedStatement to take advantage of setting 
>> parameters by name.
>>      
> You should use the JDBC unwrap() method (which is newer than Resin 2):
>
>     PreparedStatement pStmt = conn.prepareStatement(sql);
>     OraclePreparedStatement ps = pStmt.unwrap(OraclePreparedStatement.class);
>
> -- Scott
>    

-- 


Alan Wright
Athene Systems

tel 0845 230 9803


Athene Systems Limited
Registered Office:
Shieling House
Invincible Road
Farnborough
GU14 7QU

Registered in England and Wales No. 3156080



_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to