Hibernate version: 3.3.1
Annotations version: 3.4.0
Is it possible to convince hibernate to NEVER look for the .hbm.xml file and rely solely on the annotations? I don't even want it to
look.
Code:
c = new AnnotationConfiguration()
.setProperty("dialect", "org.hibernate.dialect.MySQLInnoDBDialect")
.setProperty("connection.driver_class","com.mysql.jdbc.Driver")
.setProperty("connection.url","jdbc:mysql://localhost/xxx")
.setProperty("connection.username","xxx")
.setProperty("connection.password","yyy")
.addClass(xxx.server.beans.UserBean.class);