[jboss-cvs] jboss-seam/examples/wiki/src/etc/META-INF ...
Christian Bauer
christian at hibernate.org
Thu Mar 8 05:44:15 EST 2007
User: cbauer
Date: 07/03/08 05:44:15
Modified: examples/wiki/src/etc/META-INF jboss-beans.xml
persistence-test-war.xml
Log:
Added TestNG support to build and IntelliJ config
Revision Changes Path
1.2 +1 -1 jboss-seam/examples/wiki/src/etc/META-INF/jboss-beans.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: jboss-beans.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/src/etc/META-INF/jboss-beans.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- jboss-beans.xml 7 Mar 2007 18:37:36 -0000 1.1
+++ jboss-beans.xml 8 Mar 2007 10:44:15 -0000 1.2
@@ -5,7 +5,7 @@
<bean name="wikiTestDatasourceBootstrap" class="org.jboss.resource.adapter.jdbc.local.LocalTxDataSource">
<property name="driverClass">org.hsqldb.jdbcDriver</property>
- <property name="connectionURL">jdbc:hsqldb:.</property>
+ <property name="connectionURL">jdbc:hsqldb:hsql://localhost</property>
<property name="userName"><value class="java.lang.String">sa</value></property>
<property name="password"><value class="java.lang.String"></value></property>
<property name="jndiName">java:/wikiTestDatasource</property>
1.2 +5 -3 jboss-seam/examples/wiki/src/etc/META-INF/persistence-test-war.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: persistence-test-war.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/src/etc/META-INF/persistence-test-war.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- persistence-test-war.xml 7 Mar 2007 18:37:36 -0000 1.1
+++ persistence-test-war.xml 8 Mar 2007 10:44:15 -0000 1.2
@@ -7,10 +7,12 @@
<persistence-unit name="wiki">
<provider>org.hibernate.ejb.HibernatePersistence</provider>
- <jta-data-source>java:/wikiDatasource</jta-data-source>
+ <jta-data-source>java:/wikiTestDatasource</jta-data-source>
+ <jar-file>@entityClassesDir@</jar-file> <!-- Compiled entity classes are not where persistence.xml is -->
<properties>
- <property name="hibernate.hbm2ddl.auto" value="create-drop"/>
+ <property name="hibernate.hbm2ddl.auto" value="create"/> <!-- create-drop throws exception with E-EJB3 -->
<property name="hibernate.show_sql" value="true"/>
+ <!-- TODO: So do we need a TF or not in EEJB3? -->
<property name="hibernate.transaction.factory_class" value="org.hibernate.transaction.JTATransactionFactory"/>
<property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.JBossTransactionManagerLookup"/>
<property name="hibernate.cache.use_second_level_cache" value="false"/>
More information about the jboss-cvs-commits
mailing list