I just answered my own question, or better put, I found the answer to a different question was the same...
I just commented out a couple of lines in persistence.properties: | hibernate.transaction.manager_lookup_class=org.hibernate.transaction.JBossTransactionManagerLookup | hibernate.connection.release_mode=after_statement | hibernate.transaction.flush_before_completion=false | hibernate.transaction.auto_close_session=false | hibernate.query.factory_class=org.hibernate.hql.ast.ASTQueryTranslatorFactory | hibernate.hbm2ddl.auto=none | hibernate.cache.provider_class=org.hibernate.cache.HashtableCacheProvider | # Clustered cache with TreeCache | #hibernate.cache.provider_class=org.jboss.ejb3.entity.TreeCacheProviderHook | #hibernate.treecache.mbean.object_name=jboss.cache:service=EJB3EntityTreeCache | #hibernate.connection.datasource=java:/DefaultDS | #hibernate.connection.datasource=java:/LocalOracleDS | #hibernate.default_schema=XYZ | #hibernate.dialect=org.hibernate.dialect.Oracle9Dialect | hibernate.jndi.java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory | hibernate.jndi.java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces | Now all the properties for this datasource are read from persistence.xml, as desired. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3919623#3919623 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3919623 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
