Hibernate version:
3.0.5
I'm using annotations for the first time and I've followed the instructions on:
http://www.hibernate.org/hib_docs/annot ... figuration
I have an hibernate.cfg.xml:
<hibernate-configuration>
<session-factory>
<property name="connection.datasource">java:comp/env/jdbc/tcrud</property>
<property name="useOuterJoin">true</property>
<property name="dialect">org.hibernate.dialect.MySQLDialect</property>
<property name="show_sql">true</property>
<mapping package="com.cs.persistence"></mapping>
</session-factory>
</hibernate-configuration>
but when building the session factory I get this warning:
WARN main org.hibernate.cfg.AnnotationBinder - Package not found or wo package-info.java: com.cs.persistence
but the package with all the persistent classes are there, believe me ;)
the classes lies inside subpackages, does it matter??
Thanks