| Author |
JDBC( sql.Date and util.Date)
|
Prasath Manohar
Greenhorn
Joined: Mar 21, 2006
Posts: 2
|
|
|
Can I store the System's current Date to Oracle DB.If so can I use both sql.Date and util.Date in the same jdbc program,try to explain me with an example...
|
 |
Scott Selikoff
Saloon Keeper
Joined: Oct 23, 2005
Posts: 3652
|
|
|
Do you want the application server's date/time or the database server's date/time, because both are available. Oracle has a sys time command whereas java just requires you create a new date. Depending on how you want to use it, you might consider a database solution that automatically inserts in a timestamp when the record is inserted.
|
My Blog: Down Home Country Coding with Scott Selikoff
|
 |
 |
|
|
subject: JDBC( sql.Date and util.Date)
|
|
|