Hello, I just completed the following tutorial located here:
http://www.myeclipseide.com/documentation/quickstarts/hibernateintroduction/
When I go and test “HibernateExample.java” I get the following errors.
Exception in thread "main" java.lang.Error: Unresolved compilation problems:
The method setId(Integer) in the type AbstractUser is not applicable for the arguments (int)
The method setDateCreated(Long) in the type AbstractUser is not applicable for the arguments (long)
at com.myeclipse.hibernate.HibernateExample.addUser(HibernateExample.java:24)
at com.myeclipse.hibernate.HibernateExample.main(HibernateExample.java:12)
I am running MyEclipse 6.01 on OSX Leopard.
Any help would be appreciated.
Thanks!