tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r608243 - /openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/entity/cmr/AbstractCMRTest.java
Date Wed, 02 Jan 2008 21:48:06 GMT
Author: dblevins
Date: Wed Jan  2 13:48:05 2008
New Revision: 608243

URL: http://svn.apache.org/viewvc?rev=608243&view=rev
Log:
Update the hard coded datasource name to the new one from default.openejb.conf.  The CMR tests
might be better off in bean classes.

Modified:
    openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/entity/cmr/AbstractCMRTest.java

Modified: openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/entity/cmr/AbstractCMRTest.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/entity/cmr/AbstractCMRTest.java?rev=608243&r1=608242&r2=608243&view=diff
==============================================================================
--- openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/entity/cmr/AbstractCMRTest.java
(original)
+++ openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/entity/cmr/AbstractCMRTest.java
Wed Jan  2 13:48:05 2008
@@ -75,7 +75,7 @@
 
         InitialContext jndiContext = new InitialContext( );
         transactionManager = (TransactionManager) jndiContext.lookup("java:openejb/TransactionManager");
-        ds = (DataSource) jndiContext.lookup("java:openejb/Resource/Default JDBC Database");
+        ds = (DataSource) jndiContext.lookup("java:openejb/Resource/My DataSource");
     }
 
     protected static void dumpTable(DataSource ds, String table) throws SQLException {



Mime
View raw message