my dog learned polymorphism
The moose likes Object Relational Mapping and the fly likes Dateformat problem in iBatis Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Dateformat problem in iBatis" Watch "Dateformat problem in iBatis" New topic

Dateformat problem in iBatis

chathuranga jeevan pussella

Joined: Aug 12, 2010
Posts: 5

Hi all,
This is my first post here. I am in trouble with date formatting in iBatis.
Can you anyone please help me.
I want to format the date from Database as 'DD-MM-YYYY' format.
when I using following code, it give 'YYYY-MM-DD' format.

output : 2011-06-21

How can I do that ???

I agree. Here's the link:
subject: Dateformat problem in iBatis
It's not a secret anymore!