Hi, Do you say that in 1.4 you didn't do any conversion between the two types and it just worked ? See Component#getConverter(Class) method.
On Mon, Mar 19, 2012 at 3:02 PM, Alok Pathak <alokpatha...@gmail.com> wrote: > I have an application in Wicket 1.4, where i am using JPA. I declared an > entity (Customer) with property *dob* of type *java.sql.Date*. > Now i want to migrate that application in Wicket 1.5, When I submit the > registration form of the customer I get the exception: *java.util.Date > cannot be cast to java.sql.Date* > Kindly Help > Thanks > Alok Pathak > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/java-util-Date-cannot-be-cast-to-java-sql-Date-tp4484703p4484703.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org