This content has been marked as final. 
    
Show                 2 replies
    
- 
        1. Re: jboss AS + hibernate + mysqlnitm Dec 24, 2007 9:43 PM (in response to nitm)forgot to add that when i change the datasource to java:/MySql instead of java:/DefaultDS it works great... 
 thanks, nitzan
- 
        2. Re: jboss AS + hibernate + mysqljaikiran Dec 25, 2007 6:01 AM (in response to nitm)There are 2 ways of changing the default database in JBoss. In the approach that you followed, you have changed the jndi-name of the default datasource. However, if you want to lookup the datasource using java:DefaultDS then you will have to follow the Approach#1 mentioned at http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigJBossMQDB 
 
    