5 Replies Latest reply on Jan 8, 2007 12:49 PM by Gavin King

    Mapping between form field and database fields

    Chris Malan Novice

      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.