[jboss-user] [JBoss Seam] - Mapping between form field and database fields

chrismalan do-not-reply at jboss.com
Thu Dec 21 01:04:16 EST 2006


I'm new to Seam.  After reading some of the documentation and looking at the examples I'm left with one question.  Searches of the forum provide no answer.

One html form field in Seam seems to map to one attribute in a POJO which in turn seems to map to one field in a database.  Now say I want a day field, a month field and a year field in the html form, a java.sql.Date field in the POJO and a date field in the database, how do I do that?

I'm sure there is a way (most likely a simple way) as this the one to one mapping will often not do.

Thanks,

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995509#3995509

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995509



More information about the jboss-user mailing list