Your entities should be mapped in your configuration file:
e.g.
classes/hibernate.cfg.xml:

<!DOCTYPE hibernate-configuration PUBLIC 
        "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
        "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd";>

<hibernate-configuration>
        <session-factory>
                org.gjt.mm.mysql.Driver
                jdbc:mysql://1.1.1.1:3306/yourdb
                you
                sss
                org.hibernate.dialect.MySQLDialect
                false
                
        </session-factory>
</hibernate-configuration>


good luck.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949611#3949611

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949611


_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to