wood burning stoves 2.0*
The moose likes JDBC and the fly likes storing date in database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "storing date in database" Watch "storing date in database" New topic
Author

storing date in database

jen plecerda
Greenhorn

Joined: Mar 02, 2007
Posts: 4
hi!

can anyone help me how to store a string that i converted as a java date in a database?..im using mysql as a database. Thanks in advance!!!
Ricky Martaputra
Ranch Hand

Joined: Apr 04, 2005
Posts: 42
try to use PreparedStatement.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: storing date in database
 
Similar Threads
Date Format
Date or Timestamp?
Date format
EntityManager.find() returns null
conversion from Date ojbect to Date object