You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Janaka Buddhika <bu...@gmail.com> on 2009/07/17 13:00:36 UTC

Get time from oracle date field using RowSetDynaClass in commons-beanutils-1.8.0

Hi,
Im using oracle 10g and java 1.5 in my application. Im using RowSetDynaClass
to retrive data from the DB and it contains Date fields with contains time
of the day too. RowSetDynaClass object represent the oracle Date field as
java.sql.date with dont have time component. what i want is java.util.date
or java.sql.timestamp field in order to retrieve time component too. At the
moment i cant change the DB fields TimeStamp to retrieve time. So how can i
proceed ?? if i hapen to change and rebuild the jar what class of
commons-beanutils-1.8.0 should i look in to ? any kind of help would be
highly appreciated

Regards
Buddhika