Thank you, RickHigh,
The following the snippet from the log. It seems the date type not converted properly. I tried to insert a record, other fields can be added but the bod (date field).
Thanks again.
Lamborghini
DEBUG http-80-Processor24 org.apache.struts.action.RequestProcessor - Storing ActionForm bean instance in scope 'request' under attribute key 'customerEditForm'
DEBUG http-80-Processor24 org.apache.struts.action.RequestProcessor - Populating bean properties from this request
DEBUG http-80-Processor24 org.apache.commons.beanutils.BeanUtils - BeanUtils.populate(
www.articy.wdb.Customer@275, {active=[Ljava.lang.String;@1d709a5, lastname=[Ljava.lang.String;@ba6c13, age=[Ljava.lang.String;@10d9151, do=[Ljava.lang.String;@1bf68a9, bod=[Ljava.lang.String;@1706eb7, name=[Ljava.lang.String;@74db2c, id=[Ljava.lang.String;@1e16483})
DEBUG http-80-Processor24 org.apache.commons.beanutils.BeanUtils - setProperty(
www.articy.wdb.Customer@275, active, [])
DEBUG http-80-Processor24 org.apache.commons.beanutils.ConvertUtils - Convert string '' to class 'java.lang.Boolean'
DEBUG http-80-Processor24 org.apache.commons.beanutils.ConvertUtils - Using converter org.apache.commons.beanutils.converters.BooleanConverter@8ddb93
DEBUG http-80-Processor24 org.apache.commons.beanutils.PropertyUtils - setSimpleProperty: Invoking method public void com.articy.struts.form.CustomerEditForm.setActive(java.lang.Boolean) with value false (class java.lang.Boolean)
DEBUG http-80-Processor24 org.apache.commons.beanutils.BeanUtils - setProperty(
www.articy.wdb.Customer@275, lastname, [George])
DEBUG http-80-Processor24 org.apache.commons.beanutils.ConvertUtils - Convert string 'George' to class 'java.lang.String'
DEBUG http-80-Processor24 org.apache.commons.beanutils.ConvertUtils - Using converter org.apache.commons.beanutils.converters.StringConverter@1148603
DEBUG http-80-Processor24 org.apache.commons.beanutils.PropertyUtils - setSimpleProperty: Invoking method public void com.articy.struts.form.CustomerEditForm.setLastname(java.lang.String) with value George (class java.lang.String)
DEBUG http-80-Processor24 org.apache.commons.beanutils.BeanUtils - setProperty(
www.articy.wdb.Customer@275, age, [56])
DEBUG http-80-Processor24 org.apache.commons.beanutils.ConvertUtils - Convert string '56' to class 'java.lang.Integer'
DEBUG http-80-Processor24 org.apache.commons.beanutils.ConvertUtils - Using converter org.apache.commons.beanutils.converters.IntegerConverter@14ab51b
DEBUG http-80-Processor24 org.apache.commons.beanutils.PropertyUtils - setSimpleProperty: Invoking method public void com.articy.struts.form.CustomerEditForm.setAge(java.lang.Integer) with value 56 (class java.lang.Integer)
DEBUG http-80-Processor24 org.apache.commons.beanutils.BeanUtils - setProperty(
www.articy.wdb.Customer@275, do, [saveCustomer,saveCustomer])
DEBUG http-80-Processor24 org.apache.commons.beanutils.BeanUtils -
setProperty(www.articy.wdb.Customer@275, bod, [1988-01-01])
DEBUG http-80-Processor24 org.apache.commons.beanutils.BeanUtils - Skipping read-only property DEBUG http-80-Processor24 org.apache.commons.beanutils.BeanUtils - setProperty(
www.articy.wdb.Customer@275, name, [Bush])
DEBUG http-80-Processor24 org.apache.commons.beanutils.ConvertUtils - Convert string 'Bush' to class 'java.lang.String'
DEBUG http-80-Processor24 org.apache.commons.beanutils.ConvertUtils - Using converter org.apache.commons.beanutils.converters.StringConverter@1148603
DEBUG http-80-Processor24 org.apache.commons.beanutils.PropertyUtils - setSimpleProperty: Invoking method public void com.articy.struts.form.CustomerEditForm.setName(java.lang.String) with value Bush (class java.lang.String)
DEBUG http-80-Processor24 org.apache.commons.beanutils.BeanUtils - setProperty(
www.articy.wdb.Customer@275, id, [])
DEBUG http-80-Processor24 org.apache.commons.beanutils.ConvertUtils - Convert string '' to class 'java.lang.Integer'
DEBUG http-80-Processor24 org.apache.commons.beanutils.ConvertUtils - Using converter org.apache.commons.beanutils.converters.IntegerConverter@14ab51b
DEBUG http-80-Processor24 org.apache.commons.beanutils.PropertyUtils - setSimpleProperty: Invoking method public void com.articy.struts.form.CustomerEditForm.setId(java.lang.Integer) with value 0 (class java.lang.Integer)
DEBUG http-80-Processor24 org.apache.struts.action.RequestProcessor - Validating input form properties
DEBUG http-80-Processor24 org.apache.struts.action.RequestProcessor - No errors detected, accepting input
DEBUG http-80-Processor24 org.apache.struts.action.RequestProcessor - Looking for Action instance for class com.articy.struts.action.CustomerEditAction
DEBUG http-80-Processor24 org.apache.struts.action.RequestProcessor - Returning existing Action instance
INFO http-80-Processor24 org.hibernate.cfg.Environment - Hibernate 3.0.5
INFO http-80-Processor24 org.hibernate.cfg.Environment - hibernate.properties not found
INFO http-80-Processor24 org.hibernate.cfg.Environment - using CGLIB reflection optimizer
INFO http-80-Processor24 org.hibernate.cfg.Environment - using JDK 1.4 java.sql.Timestamp handling
INFO http-80-Processor24 org.hibernate.cfg.Configuration - configuring from resource: /hibernate.cfg.xml
INFO http-80-Processor24 org.hibernate.cfg.Configuration - Configuration resource: /hibernate.cfg.xml
DEBUG http-80-Processor24 org.hibernate.util.DTDEntityResolver - trying to locate
http://hibernate.sourceforge.net/hibern ... on-3.0.dtd in classpath under org/hibernate/
DEBUG http-80-Processor24 org.hibernate.util.DTDEntityResolver - found
http://hibernate.sourceforge.net/hibern ... on-3.0.dtd in classpath
DEBUG http-80-Processor24 org.hibernate.cfg.Configuration - myeclipse.connection.profile=library-web
DEBUG http-80-Processor24 org.hibernate.cfg.Configuration - connection.url=jdbc:postgresql://192.168.0.88:5432/alibrary
DEBUG http-80-Processor24 org.hibernate.cfg.Configuration - show_sql=true
DEBUG http-80-Processor24 org.hibernate.cfg.Configuration - connection.username=lamborghini
DEBUG http-80-Processor24 org.hibernate.cfg.Configuration - connection.password=italy
DEBUG http-80-Processor24 org.hibernate.cfg.Configuration - connection.driver_class=org.postgresql.Driver
DEBUG http-80-Processor24 org.hibernate.cfg.Configuration - dialect=org.hibernate.dialect.PostgreSQLDialect
DEBUG http-80-Processor24 org.hibernate.cfg.Configuration - null<-org.dom4j.tree.DefaultAttribute@127461b [Attribute: name resource value "www/articy/wdb/Customer.hbm.xml"]
INFO http-80-Processor24 org.hibernate.cfg.Configuration - Mapping resource: www/articy/wdb/Customer.hbm.xml
DEBUG http-80-Processor24 org.hibernate.util.DTDEntityResolver - trying to locate
http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath under org/hibernate/
DEBUG http-80-Processor24 org.hibernate.util.DTDEntityResolver - found
http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath
INFO http-80-Processor24 org.hibernate.cfg.HbmBinder - Mapping class:
www.articy.wdb.Customer -> customer
DEBUG http-80-Processor24 org.hibernate.cfg.HbmBinder - Mapped property: id -> id
DEBUG http-80-Processor24 org.hibernate.cfg.HbmBinder - Mapped property: name -> name
DEBUG http-80-Processor24 org.hibernate.cfg.HbmBinder - Mapped property: lastname -> lastname
DEBUG http-80-Processor24 org.hibernate.cfg.HbmBinder - Mapped property: age -> age
DEBUG http-80-Processor24 org.hibernate.cfg.HbmBinder - Mapped property: active -> active
DEBUG http-80-Processor24 org.hibernate.cfg.HbmBinder - Mapped property: bod -> bod
DEBUG http-80-Processor24 org.hibernate.cfg.HbmBinder - Mapped property: bookSet
DEBUG http-80-Processor24 org.hibernate.cfg.Configuration - null<-org.dom4j.tree.DefaultAttribute@18e80a6 [Attribute: name resource value "www/articy/wdb/Book.hbm.xml"]
INFO http-80-Processor24 org.hibernate.cfg.Configuration - Mapping resource: www/articy/wdb/Book.hbm.xml
DEBUG http-80-Processor24 org.hibernate.util.DTDEntityResolver - trying to locate
http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath under org/hibernate/
DEBUG http-80-Processor24 org.hibernate.util.DTDEntityResolver - found
http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath
INFO http-80-Processor24 org.hibernate.cfg.HbmBinder - Mapping class:
www.articy.wdb.Book -> book
DEBUG http-80-Processor24 org.hibernate.cfg.HbmBinder - Mapped property: id -> id
DEBUG http-80-Processor24 org.hibernate.cfg.HbmBinder - Mapped property: title -> title
DEBUG http-80-Processor24 org.hibernate.cfg.HbmBinder - Mapped property: author -> author
DEBUG http-80-Processor24 org.hibernate.cfg.HbmBinder - Mapped property: available -> available
DEBUG http-80-Processor24 org.hibernate.cfg.HbmBinder - Mapped property: customer -> customer_fk
INFO http-80-Processor24 org.hibernate.cfg.Configuration - Configured SessionFactory: null
DEBUG http-80-Processor24 org.hibernate.cfg.Configuration - properties: {java.vendor=Sun Microsystems Inc., show_sql=true