You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by "Frédérick, Fabian" <fa...@prov-liege.be> on 2005/08/08 11:44:24 UTC
inputdate format
Hi,
I've got an x:inputDate type="date" connected to a String in bean
I'd like to insert into mysql db with 2005-08-08 format.Despite
type="date" I have something like
Mon Aug 08 11:17:13 CEST 2005' Do I have to use native java date type or
something ? More generally, does hibernate avoid such problems ?
Best regards,
Fabian
Re: inputdate format
Posted by Ron <ro...@ronsmits.org>.
<x:inputdate... uses java.util.date as backend. best thing to do would
be to have the backingbean convert it.
Ron
On Mon, 2005-08-08 at 11:44 +0200, "Frédérick, Fabian" wrote:
> Hi,
>
> I've got an x:inputDate type="date" connected to a String in bean
> I'd like to insert into mysql db with 2005-08-08 format.Despite
> type="date" I have something like
> Mon Aug 08 11:17:13 CEST 2005' Do I have to use native java date type or
> something ? More generally, does hibernate avoid such problems ?
>
> Best regards,
> Fabian
--
Windows 2000, Users Zilch
-- From a Slashdot.org post