[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Data source lookup returns null for mysql

2006-06-30 Thread emwamba
"tefron" wrote : Do you have isolation on? Sorry, I am not an expert user of JBoss. I don't know whether or not I have isolation enabled. How do I check and what effect would that have? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954772#3954772 Reply to t

[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Data source lookup returns null for mysql

2006-06-28 Thread emwamba
I have installed jboss 4.0.4.GA and have configured a MySQL datasource, named "qmmsDB", as I did in jboss 4.0.2. However, when my code attempts to look up the data source, a null value is returned and no exeception is returned. The code is as follows: Context ctx = new InitialContext(); DataSou