savana, you should be using persistence.xml to reference your jta data source 
and tell what sql dialect to use, then have a myssql-ds.xml file for the 
datasource, into your deploy folder.

hibernate.cfg.xml is only used to generate de CRUD app, not to run it.

Im not sure but I think you're confused on how hibernate gets connected to the 
database when running the app.

Cheers.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958940
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to