connection.getMetadata().getDriverName()...

-----Original Message-----
From: Claire Wall [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 23, 2003 10:14 AM
To: Struts Users Mailing List
Subject: determining the database driver in actions


hi,

is there a way to find out the database driver that is being used in my struts action 
classes?

the reason for wanting to be able to do this is that i would like to structure my 
class so that, depending upon the driver being used (or alternatively, type of 
DataSource) i could either write a Blob to the database (Oracle) or a BinaryStream 
(SQLServer or MySQL). 

is it possible to find out the DataSource's property's?


cheers
claire

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to