I've defined my own UserType that always returns a java.util.Date instead of a
java.sql.Date. I have specified my property def. as follows:
<property name="reportDate"
type="com.rcm.coreservices.hibernate.UtilDateType"
update="false"
insert="false"
access="field">
<column name="REPORT_DATE" sql-type="date" not-null="true"/>
</property>
When I start my server, I get the following error when the HibernateMBean starts up
13:04:52,566 INFO [HibernateServiceMBean] Could not build SessionFactory using the MBean classpath - will try again using client classpath: property mapping has wrong number of columns: com.rcm.positionservice.domain.FinancingBEAR.reportDate type: com.rcm.coreservices.hibernate.UtilDateType
What columns am I missing?
Thanks in advance,
Rich
|