I\'ve got a really simple class:
import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.pers
You should use AnnotationConfiguration instead of Configuration and then call
AnnotationConfiguration
Configuration
configuration.addAnnotatedClass(User.class);
to add your class to the list of mapped classes.