-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: XML mapping How do I apply localized formatting.
PostPosted: Mon Nov 14, 2005 12:57 pm 
Newbie

Joined: Tue Oct 14, 2003 8:10 am
Posts: 2
When using the XML mapping features in Hibernate 3.0, how would I get a Date from the database formatted as I wish in the XML output? This question also applies to number formatting.

If there is a current solution, does it work both for getting the data from the DB and when updating the DB?


Thanks
johan


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 14, 2005 2:35 pm 
Expert
Expert

Joined: Sat Jun 12, 2004 4:49 pm
Posts: 915
formatting for what - if you define number or date in mapping and POJO you load/save dates/numbers from database and you can format what you like


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.