File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes data handling Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Reply locked New topic

data handling

Deyna Cegielski
Ranch Hand

Joined: Nov 24, 2004
Posts: 60
my mysql database stored dates as strings in the format dd/mm/yyyy.

im having problems inserting into the database because the values i want to insert for the date are from a jformattedtextfield with simpledateformat("dd/mm/yy). i get a haunch of errors because of this.

any ideas how to get around this?

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63548

Please do not post the same question more than once.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: data handling
It's not a secret anymore!