Re: New FormType
Jacob Kjome <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.barracuda.general |
|---|---|
| Message-ID | <[email protected]> |
Hmm... I'm not sure about this? Why should the FormType class have anything to do with SQL? It assumes the storage device; a relational database. FormType should not be doing this. It should be storage device agnostic and deal with general java objects/datatypes. Does anyone feel the same way, or am I just being pedantic? Jake At 04:37 PM 5/15/2003 -0400, you wrote: >Hey folks, > >Just an FYI...there is now a new form mapping type called FormType.TIMESTAMP >(java.sql.Timestamp). > >Basically, what it will do is handle either time values (represented as a >long) or date values (ie. entered by a user), and convert both of them to a >java.sql.Timestamp value that can be shoved directly back into a db (whereas >java.util.Date cannot). > >Just thought you might want to know... > >Christian > >---------------------------------------------- >Christian Cryder [[email protected]] >Internet Architect, ATMReports.com >Barracuda - http://barracudamvc.org >---------------------------------------------- >"Coffee? I could quit anytime, just not today" > >_______________________________________________ >Barracuda mailing list >[email protected] >http://barracudamvc.org/lists/listinfo/barracuda