You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(22) |
Nov
(308) |
Dec
(131) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(369) |
Feb
(171) |
Mar
(236) |
Apr
(187) |
May
(218) |
Jun
(217) |
Jul
(127) |
Aug
(448) |
Sep
(270) |
Oct
(231) |
Nov
(422) |
Dec
(255) |
2004 |
Jan
(111) |
Feb
(73) |
Mar
(338) |
Apr
(351) |
May
(349) |
Jun
(495) |
Jul
(394) |
Aug
(1048) |
Sep
(499) |
Oct
(142) |
Nov
(269) |
Dec
(638) |
2005 |
Jan
(825) |
Feb
(1272) |
Mar
(593) |
Apr
(690) |
May
(950) |
Jun
(958) |
Jul
(767) |
Aug
(839) |
Sep
(525) |
Oct
(449) |
Nov
(585) |
Dec
(455) |
2006 |
Jan
(603) |
Feb
(656) |
Mar
(195) |
Apr
(114) |
May
(136) |
Jun
(100) |
Jul
(128) |
Aug
(68) |
Sep
(7) |
Oct
(1) |
Nov
(1) |
Dec
(8) |
2007 |
Jan
(4) |
Feb
(3) |
Mar
(8) |
Apr
(16) |
May
(5) |
Jun
(4) |
Jul
(6) |
Aug
(23) |
Sep
(15) |
Oct
(5) |
Nov
(7) |
Dec
(5) |
2008 |
Jan
(5) |
Feb
(1) |
Mar
(1) |
Apr
(5) |
May
(1) |
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
2012 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
(1) |
Aug
(1) |
Sep
|
Oct
(2) |
Nov
(3) |
Dec
(2) |
2013 |
Jan
(1) |
Feb
|
Mar
(2) |
Apr
(1) |
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2014 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
(2) |
Jun
(1) |
Jul
|
Aug
(1) |
Sep
(1) |
Oct
|
Nov
(1) |
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2016 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <hib...@li...> - 2006-02-28 00:11:41
|
Author: ste...@jb... Date: 2006-02-27 19:11:39 -0500 (Mon, 27 Feb 2006) New Revision: 9352 Removed: branches/unlabeled-1.1.2/ Log: cleanup after import |
From: <hib...@li...> - 2006-02-28 00:11:16
|
Author: ste...@jb... Date: 2006-02-27 19:11:14 -0500 (Mon, 27 Feb 2006) New Revision: 9351 Removed: branches/dynamic_update/ Log: cleanup after import |
From: <hib...@li...> - 2006-02-28 00:10:48
|
Author: ste...@jb... Date: 2006-02-27 19:10:44 -0500 (Mon, 27 Feb 2006) New Revision: 9350 Removed: branches/STABLE/ Log: cleanup after import |
From: <hib...@li...> - 2006-02-28 00:10:35
|
Author: ste...@jb... Date: 2006-02-27 19:10:29 -0500 (Mon, 27 Feb 2006) New Revision: 9349 Removed: branches/MAPPING-REDESIGN/ Log: cleanup after import |
From: <hib...@li...> - 2006-02-28 00:10:18
|
Author: ste...@jb... Date: 2006-02-27 19:10:14 -0500 (Mon, 27 Feb 2006) New Revision: 9348 Removed: branches/DATABIND/ Log: cleanup after import |
From: <hib...@li...> - 2006-02-28 00:04:04
|
Author: ste...@jb... Date: 2006-02-27 19:04:01 -0500 (Mon, 27 Feb 2006) New Revision: 9347 Removed: branches/AST_REDESIGN/ Log: cleanup after import |
From: <hib...@li...> - 2006-02-28 00:03:12
|
Author: ste...@jb... Date: 2006-02-27 19:03:08 -0500 (Mon, 27 Feb 2006) New Revision: 9346 Removed: trunk/container/ Log: cleanup after import |
From: <hib...@li...> - 2006-02-28 00:02:55
|
Author: ste...@jb... Date: 2006-02-27 19:02:52 -0500 (Mon, 27 Feb 2006) New Revision: 9345 Removed: trunk/Hibernate2/ Log: cleanup after import |
From: <hib...@li...> - 2006-02-28 00:02:38
|
Author: ste...@jb... Date: 2006-02-27 19:02:33 -0500 (Mon, 27 Feb 2006) New Revision: 9344 Removed: trunk/Hibernate/ Log: cleanup after import |
From: <hib...@li...> - 2006-02-28 00:01:53
|
Author: ste...@jb... Date: 2006-02-27 19:01:50 -0500 (Mon, 27 Feb 2006) New Revision: 9343 Removed: trunk/CVSROOT/ Log: cleanup after import |
From: <pao...@us...> - 2006-02-27 17:29:55
|
Update of /cvsroot/hibernate/HibernateExt/metadata/src/java/org/hibernate/reflection/java In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24797/metadata/src/java/org/hibernate/reflection/java Added Files: Comprehension.java Condition.java Log Message: Collection comprehension utilities --- NEW FILE: Comprehension.java --- package org.hibernate.reflection.java; import java.util.Collection; /** * @author Paolo Perrotta */ public class Comprehension { public static <T extends Collection<E>, E> T select(T collection, Condition<E> condition) { T result = getCollectionOfSameTypeAs( collection ); for ( E item : collection ) if ( condition.applyTo( item ) ) result.add( item ); return result; } private static <T> T getCollectionOfSameTypeAs(T collection) { try { return collection.getClass().newInstance(); } catch ( Exception e ) { throw new IllegalArgumentException( "Cannot instance collection " + collection ); } } } --- NEW FILE: Condition.java --- package org.hibernate.reflection.java; /** * @author Paolo Perrotta */ public interface Condition<T> { boolean applyTo(T item); } |
From: <pao...@us...> - 2006-02-27 17:29:55
|
Update of /cvsroot/hibernate/HibernateExt/metadata/src/test/org/hibernate/test/reflection/java In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24797/metadata/src/test/org/hibernate/test/reflection/java Added Files: ComprehensionTest.java Log Message: Collection comprehension utilities --- NEW FILE: ComprehensionTest.java --- package org.hibernate.test.reflection.java; import java.util.LinkedList; import java.util.List; import org.hibernate.reflection.java.Comprehension; import org.hibernate.reflection.java.Condition; import junit.framework.TestCase; /** * @author Paolo Perrotta */ public class ComprehensionTest extends TestCase { public void testAppliesComprehensionToACollection() { List<Integer> allItems = new LinkedList<Integer>(); allItems.add( -1 ); allItems.add( 2 ); // We want a new list that contains all the integers greater than zero // from the original list. With comprehension, we can do this in a // single instruction: List<Integer> selectedItems = Comprehension.select( allItems, new Condition<Integer>() { public boolean applyTo(Integer item) { return item > 0; } } ); assertEquals( 1, selectedItems.size() ); assertTrue( allItems.contains( 2 ) ); } } |
From: <tu...@us...> - 2006-02-25 13:00:52
|
Update of /cvsroot/hibernate/CaveatEmptor/HiA-SE/src/etc/webapp/WEB-INF In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5762/HiA-SE/src/etc/webapp/WEB-INF Modified Files: faces-config.xml web.xml Log Message: Merged Seam and TestNG configuration Index: faces-config.xml =================================================================== RCS file: /cvsroot/hibernate/CaveatEmptor/HiA-SE/src/etc/webapp/WEB-INF/faces-config.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- faces-config.xml 3 Feb 2006 00:49:33 -0000 1.2 +++ faces-config.xml 25 Feb 2006 13:00:47 -0000 1.3 @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE faces-config +<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN" "http://java.sun.com/dtd/web-facesconfig_1_0.dtd"> - + <faces-config> <navigation-rule> @@ -19,7 +19,6 @@ <to-view-id>/login.xhtml</to-view-id> </navigation-case> - <navigation-case> <from-outcome>start</from-outcome> <to-view-id>/itembrowser.xhtml</to-view-id> @@ -46,13 +45,9 @@ --> <application> - <!-- Oracle ADF --> <default-render-kit-id>oracle.adf.core</default-render-kit-id> - - <!-- JBoss Seam --> - <variable-resolver>org.jboss.seam.jsf.SeamVariableResolver</variable-resolver> </application> - + <!-- Select one of the three standard persistence lifecycle models for the Seam application --> <lifecycle> <!--phase-listener>org.jboss.seam.jsf.SeamPhaseListener</phase-listener--> Index: web.xml =================================================================== RCS file: /cvsroot/hibernate/CaveatEmptor/HiA-SE/src/etc/webapp/WEB-INF/web.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- web.xml 3 Feb 2006 00:49:33 -0000 1.2 +++ web.xml 25 Feb 2006 13:00:47 -0000 1.3 @@ -10,16 +10,35 @@ <listener-class>org.jboss.seam.servlet.SeamListener</listener-class> </listener> - <!-- Needed to ensure safe tx cleanup when using Seam-managed sessions/persistence contexts --> + <!-- Propagate conversations across redirects --> <filter> - <filter-name>Seam Exception Filter</filter-name> - <filter-class>org.jboss.seam.servlet.SeamExceptionFilter</filter-class> + <filter-name>Seam Redirect Filter</filter-name> + <filter-class>org.jboss.seam.servlet.SeamRedirectFilter</filter-class> </filter> + <filter-mapping> - <filter-name>Seam Exception Filter</filter-name> - <url-pattern>*.jsf</url-pattern> + <filter-name>Seam Redirect Filter</filter-name> + <url-pattern>*.seam</url-pattern> </filter-mapping> + <!-- 120 second conversation timeout --> + <context-param> + <param-name>org.jboss.seam.core.manager.conversationTimeout</param-name> + <param-value>120000</param-value> + </context-param> + + <!-- Global JNDI name pattern for Embeddable EJB3 --> + <context-param> + <param-name>org.jboss.seam.core.init.jndiPattern</param-name> + <param-value>#{ejbName}/local</param-value> + </context-param> + + <!-- Install the Embeddable EJB3 container --> + <context-param> + <param-name>org.jboss.seam.core.init.componentClasses</param-name> + <param-value>org.jboss.seam.core.Ejb</param-value> + </context-param> + <!-- ############################# MyFaces #############################--> <listener> @@ -47,7 +66,7 @@ <servlet-mapping> <servlet-name>Faces Servlet</servlet-name> - <url-pattern>*.jsf</url-pattern> + <url-pattern>*.seam</url-pattern> </servlet-mapping> <!-- ############################# Oracle ADF #############################--> |
From: <tu...@us...> - 2006-02-25 13:00:52
|
Update of /cvsroot/hibernate/CaveatEmptor/HiA-SE/src/etc/webapp/WEB-INF/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5762/HiA-SE/src/etc/webapp/WEB-INF/lib Modified Files: el-api.jar el-ri.jar jsf-facelets.jar Log Message: Merged Seam and TestNG configuration |
From: <tu...@us...> - 2006-02-25 13:00:51
|
Update of /cvsroot/hibernate/CaveatEmptor/HiA-SE/src/etc/testng/conf In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5762/HiA-SE/src/etc/testng/conf Removed Files: caveatemptor-beans.xml hibernate.cfg.xml log4j.properties Log Message: Merged Seam and TestNG configuration --- caveatemptor-beans.xml DELETED --- --- hibernate.cfg.xml DELETED --- --- log4j.properties DELETED --- |
From: <tu...@us...> - 2006-02-25 13:00:51
|
Update of /cvsroot/hibernate/CaveatEmptor/HiA-SE/src/etc/webapp/conf In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5762/HiA-SE/src/etc/webapp/conf Removed Files: import.sql jboss-beans.xml log4j.properties seam.properties Log Message: Merged Seam and TestNG configuration --- import.sql DELETED --- --- jboss-beans.xml DELETED --- --- log4j.properties DELETED --- --- seam.properties DELETED --- |
From: <tu...@us...> - 2006-02-25 13:00:51
|
Update of /cvsroot/hibernate/CaveatEmptor/HiA-SE/src/etc/testng In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5762/HiA-SE/src/etc/testng Modified Files: test-integration.xml Log Message: Merged Seam and TestNG configuration Index: test-integration.xml =================================================================== RCS file: /cvsroot/hibernate/CaveatEmptor/HiA-SE/src/etc/testng/test-integration.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- test-integration.xml 3 Feb 2006 00:49:33 -0000 1.3 +++ test-integration.xml 25 Feb 2006 13:00:47 -0000 1.4 @@ -8,7 +8,7 @@ <parameter name="webXmlResource" value="org/hibernate/ce/auction/test/web/hibernate-web.xml"/> - +<!-- <test name="Hibernate"> <groups> <run><include name="integration.hibernate.*"/></run> @@ -18,7 +18,7 @@ <package name="org.hibernate.ce.auction.test.web"/> </packages> </test> - +--> <test name="EJB"> <groups> <run><include name="integration.ejb3.*"/></run> @@ -31,5 +31,18 @@ <class name="org.hibernate.ce.auction.test.runtime.EJB3Container"/> </classes> </test> - +<!-- + <test name="JTA"> + <groups> + <run><include name="integration.jta.*"/></run> + </groups> + <packages> + <package name="org.hibernate.ce.auction.test.persistence"/> + <package name="org.hibernate.ce.auction.test.web"/> + </packages> + <classes> + <class name="org.hibernate.ce.auction.test.runtime.JTAContainer"/> + </classes> + </test> +--> </suite> |
From: <tu...@us...> - 2006-02-25 13:00:50
|
Update of /cvsroot/hibernate/CaveatEmptor/HiA-SE/src/etc/conf/META-INF In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5762/HiA-SE/src/etc/conf/META-INF Added Files: jboss-aop.xml jboss-beans.xml persistence.xml Log Message: Merged Seam and TestNG configuration --- NEW FILE: jboss-aop.xml --- <aop> <!-- Wrap all execute() methods in all Action implementors inside a database transaction and a thread-bound persistence context. If one execute() method should call another execute() method, both transaction and persistence context are propagated. --> <bind pointcut="execution(* $instanceof{org.hibernate.ce.auction.web.actions.Action}->execute(..))"> <interceptor class="org.hibernate.ce.auction.persistence.TransactionInterceptor"/> </bind> </aop> --- NEW FILE: jboss-beans.xml --- <?xml version="1.0" encoding="UTF-8"?> <deployment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:jboss:bean-deployer bean-deployer_1_0.xsd" xmlns="urn:jboss:bean-deployer:2.0"> <!-- Enable a JCA datasource available through JNDI--> <bean name="caveatemptorDataSourceFactory" class="org.jboss.resource.adapter.jdbc.local.LocalTxDataSource"> <property name="jndiName">java:/caveatemptorDatasource</property> <!-- MySQL <property name="driverClass">com.mysql.jdbc.Driver</property> <property name="connectionURL">jdbc:mysql://localhost/test</property> <property name="userName">test</property> <property name="password">test</property> --> <!-- HSQL DB --> <property name="driverClass">org.hsqldb.jdbcDriver</property> <property name="connectionURL">jdbc:hsqldb:hsql://localhost</property> <property name="userName">sa</property> <property name="minSize">0</property> <property name="maxSize">10</property> <property name="blockingTimeout">1000</property> <property name="idleTimeout">100000</property> <property name="transactionManager"><inject bean="TransactionManager"/></property> <property name="cachedConnectionManager"><inject bean="CachedConnectionManager"/></property> <property name="initialContextProperties"><inject bean="InitialContextProperties"/></property> </bean> <bean name="caveatemptorDatasource" class="java.lang.Object"> <constructor factoryMethod="getDatasource"> <factory bean="caveatemptorDataSourceFactory"/> </constructor> </bean> <!-- You can setup and wire other stateless POJO services here... --> </deployment> --- NEW FILE: persistence.xml --- <?xml version="1.0" encoding="UTF-8"?> <persistence> <!-- For use in an EJB 3.0 container with managed EntityManagers --> <persistence-unit name="caveatemptorDatabase"> <jta-data-source>java:/caveatemptorDatasource</jta-data-source> <properties> <!-- Only use annotations, don't read .hbm.xml (use "class, hbm")--> <property name="hibernate.archive.autodetection" value="class"/> <property name="hibernate.dialect" value="org.hibernate.dialect.HSQLDialect"/> <property name="hibernate.hbm2ddl.auto" value="create"/> <property name="hibernate.cache.provider_class" value="org.hibernate.cache.NoCacheProvider"/> <property name="hibernate.cache.use_second_level_cache" value="false"/> <property name="hibernate.cache.use_query_cache" value="false"/> <property name="hibernate.jdbc.batch_size" value="0"/> <property name="hibernate.show_sql" value="true"/> <property name="hibernate.format_sql" value="true"/> <property name="hibernate.comment_sql" value="true"/> </properties> </persistence-unit> <!-- TODO: Bug in JBoss EJB3... For use with standalone JSE applications <persistence-unit name="caveatemptorLocalDatabase" transaction-type="RESOURCE_LOCAL"> <properties> <property name="hibernate.ejb.cfgfile" value="/hibernate.cfg.xml"/> Don't autodetect anything, classes are listed in hibernate.cfg.xml <property name="hibernate.archive.autodetection" value="none"/> </properties> </persistence-unit> --> </persistence> |
Update of /cvsroot/hibernate/CaveatEmptor/HiA-SE/src/etc/conf.container In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5762/HiA-SE/src/etc/conf.container Added Files: default.persistence.properties ejb3-interceptors-aop.xml embedded-jboss-beans.xml jndi.properties log4j.properties Log Message: Merged Seam and TestNG configuration --- NEW FILE: default.persistence.properties --- hibernate.jndi.java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory hibernate.jndi.java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces hibernate.transaction.manager_lookup_class=org.hibernate.transaction.JBossTransactionManagerLookup hibernate.transaction.factory_class = org.hibernate.transaction.JTATransactionFactory hibernate.cglib.use_reflection_optimizer=false --- NEW FILE: ejb3-interceptors-aop.xml --- <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE aop PUBLIC "-//JBoss//DTD JBOSS AOP 1.0//EN" "http://www.jboss.org/aop/dtd/jboss-aop_1_0.dtd"> <aop> <interceptor class="org.jboss.aspects.remoting.InvokeRemoteInterceptor" scope="PER_VM"/> <interceptor class="org.jboss.aspects.security.SecurityClientInterceptor" scope="PER_VM"/> <interceptor class="org.jboss.aspects.tx.ClientTxPropagationInterceptor" scope="PER_VM"/> <interceptor class="org.jboss.ejb3.remoting.IsLocalInterceptor" scope="PER_VM"/> <interceptor class="org.jboss.aspects.remoting.ClusterChooserInterceptor" scope="PER_VM"/> <interceptor class="org.jboss.aspects.tx.TxPropagationInterceptor" scope="PER_VM"/> <stack name="ServiceClientInterceptors"> <interceptor-ref name="org.jboss.ejb3.remoting.IsLocalInterceptor"/> <interceptor-ref name="org.jboss.aspects.security.SecurityClientInterceptor"/> <interceptor-ref name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/> <interceptor-ref name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/> </stack> <stack name="AsynchronousStatelessSessionClientInterceptors"> <interceptor-ref name="org.jboss.ejb3.remoting.IsLocalInterceptor"/> <interceptor-ref name="org.jboss.aspects.security.SecurityClientInterceptor"/> <interceptor-ref name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/> <interceptor-ref name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/> </stack> <stack name="AsynchronousStatefulSessionClientInterceptors"> <interceptor-ref name="org.jboss.ejb3.remoting.IsLocalInterceptor"/> <interceptor-ref name="org.jboss.aspects.security.SecurityClientInterceptor"/> <interceptor-ref name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/> <interceptor-ref name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/> </stack> <stack name="StatelessSessionClientInterceptors"> <interceptor-ref name="org.jboss.ejb3.remoting.IsLocalInterceptor"/> <interceptor-ref name="org.jboss.aspects.security.SecurityClientInterceptor"/> <interceptor-ref name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/> <interceptor-ref name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/> </stack> <stack name="StatefulSessionClientInterceptors"> <interceptor-ref name="org.jboss.ejb3.remoting.IsLocalInterceptor"/> <interceptor-ref name="org.jboss.aspects.security.SecurityClientInterceptor"/> <interceptor-ref name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/> <interceptor-ref name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/> </stack> <stack name="ClusteredStatelessSessionClientInterceptors"> <interceptor-ref name="org.jboss.ejb3.remoting.IsLocalInterceptor"/> <interceptor-ref name="org.jboss.aspects.security.SecurityClientInterceptor"/> <interceptor-ref name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/> <interceptor-ref name="org.jboss.aspects.remoting.ClusterChooserInterceptor"/> <interceptor-ref name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/> </stack> <stack name="ClusteredStatefulSessionClientInterceptors"> <interceptor-ref name="org.jboss.ejb3.remoting.IsLocalInterceptor"/> <interceptor-ref name="org.jboss.aspects.security.SecurityClientInterceptor"/> <interceptor-ref name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/> <interceptor-ref name="org.jboss.aspects.remoting.ClusterChooserInterceptor"/> <interceptor-ref name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/> </stack> <interceptor class="org.jboss.ejb3.asynchronous.AsynchronousInterceptor" scope="PER_CLASS"/> <interceptor class="org.jboss.ejb3.ENCPropagationInterceptor" scope="PER_VM"/> <interceptor factory="org.jboss.ejb3.security.RoleBasedAuthorizationInterceptorFactory" scope="PER_CLASS"/> <interceptor factory="org.jboss.ejb3.security.AuthenticationInterceptorFactory" scope="PER_CLASS"/> <interceptor factory="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory" scope="PER_CLASS"/> <interceptor class="org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor" scope="PER_VM"/> <interceptor class="org.jboss.ejb3.stateless.StatelessInstanceInterceptor" scope="PER_VM"/> <interceptor class="org.jboss.ejb3.stateful.StatefulInstanceInterceptor" scope="PER_VM"/> <interceptor class="org.jboss.ejb3.stateful.SessionSynchronizationInterceptor" scope="PER_VM"/> <interceptor class="org.jboss.ejb3.service.ServiceSingletonInterceptor" scope="PER_VM"/> <interceptor class="org.jboss.ejb3.cache.StatefulReplicationInterceptor" scope="PER_VM"/> <interceptor factory="org.jboss.ejb3.stateful.StatefulRemoveFactory" scope="PER_CLASS_JOINPOINT"/> <interceptor factory="org.jboss.ejb3.tx.TxInterceptorFactory" scope="PER_CLASS_JOINPOINT"/> <interceptor factory="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory" scope="PER_CLASS_JOINPOINT"/> <interceptor factory="org.jboss.ejb3.remoting.ReplicantsManagerInterceptorFactory" scope="PER_CLASS"/> <interceptor class="org.jboss.ejb3.AllowedOperationsInterceptor" scope="PER_VM"/> <interceptor factory="org.jboss.ejb3.mdb.CurrentMessageInjectorInterceptorFactory" scope="PER_CLASS"/> <typedef name="ejb3intercepted" expr="class(@javax.ejb.Interceptors) OR class(@javax.ejb.ExcludeDefaultInterceptors) OR class(@org.jboss.annotation.internal.DefaultInterceptorMarker) OR has(* *->@javax.ejb.AroundInvoke(..)) OR has(* *->@javax.ejb.PostConstruct(..)) OR has(* *->@javax.ejb.PreDestroy(..)) OR has(* *->@javax.ejb.PrePassivate(..)) OR has(* *->@javax.ejb.PostActivate(..)) OR has(* *->@javax.ejb.ExcludeDefaultInterceptors(..)) OR has(* *->@javax.ejb.ExcludeClassInterceptors(..)) OR has(* *->@javax.ejb.Interceptors(..))"/> <domain name="Stateless Bean"> <bind pointcut="execution(* *->*(..))"> <interceptor-ref name="org.jboss.ejb3.asynchronous.AsynchronousInterceptor"/> <interceptor-ref name="org.jboss.ejb3.ENCPropagationInterceptor"/> <interceptor-ref name="org.jboss.ejb3.security.AuthenticationInterceptorFactory"/> </bind> <bind pointcut="execution(* @org.jboss.annotation.security.SecurityDomain->*(..))"> <interceptor-ref name="org.jboss.ejb3.security.RoleBasedAuthorizationInterceptorFactory"/> </bind> <bind pointcut="execution(* @javax.annotation.security.RunAs->*(..))"> <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/> </bind> <bind pointcut="execution(* @org.jboss.annotation.ejb.Clustered->*(..))"> <interceptor-ref name="org.jboss.ejb3.remoting.ReplicantsManagerInterceptorFactory"/> </bind> <bind pointcut="execution(* *->*(..))"> <interceptor-ref name="org.jboss.ejb3.stateless.StatelessInstanceInterceptor"/> <interceptor-ref name="org.jboss.aspects.tx.TxPropagationInterceptor"/> <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/> <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/> </bind> <bind pointcut="execution(* $typedef{ejb3intercepted}->*(..))"> <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/> </bind> <annotation expr="!class(@org.jboss.annotation.ejb.PoolClass)"> @org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.ThreadlocalPool.class, maxSize=30, timeout=10000) </annotation> </domain> <domain name="Base Stateful Bean"> <bind pointcut="execution(* *->*(..))"> <interceptor-ref name="org.jboss.ejb3.asynchronous.AsynchronousInterceptor"/> <interceptor-ref name="org.jboss.ejb3.ENCPropagationInterceptor"/> <interceptor-ref name="org.jboss.ejb3.security.AuthenticationInterceptorFactory"/> </bind> <bind pointcut="execution(* @org.jboss.annotation.security.SecurityDomain->*(..))"> <interceptor-ref name="org.jboss.ejb3.security.RoleBasedAuthorizationInterceptorFactory"/> </bind> <bind pointcut="execution(* @javax.annotation.security.RunAs->*(..))"> <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/> </bind> <bind pointcut="execution(* @org.jboss.annotation.ejb.Clustered->*(..))"> <interceptor-ref name="org.jboss.ejb3.remoting.ReplicantsManagerInterceptorFactory"/> </bind> <bind pointcut="execution(* *->@javax.ejb.Remove(..))"> <interceptor-ref name="org.jboss.ejb3.stateful.StatefulRemoveFactory"/> </bind> <bind pointcut="execution(* *->*(..))"> <interceptor-ref name="org.jboss.ejb3.stateful.StatefulInstanceInterceptor"/> <interceptor-ref name="org.jboss.aspects.tx.TxPropagationInterceptor"/> <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/> <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/> </bind> <bind pointcut="execution(* $instanceof{javax.ejb.SessionSynchronization}->*(..))"> <interceptor-ref name="org.jboss.ejb3.stateful.SessionSynchronizationInterceptor"/> </bind> <bind pointcut="execution(* *->*(..))"> <interceptor-ref name="org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor"/> </bind> <bind pointcut="execution(* @org.jboss.annotation.ejb.Clustered->*(..)) AND !execution(* *->@javax.ejb.Remove(..))"> <interceptor-ref name="org.jboss.ejb3.cache.StatefulReplicationInterceptor"/> </bind> <bind pointcut="execution(* $typedef{ejb3intercepted}->*(..))"> <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/> </bind> <annotation expr="!class(@org.jboss.annotation.ejb.PoolClass)"> @org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.ThreadlocalPool.class, maxSize=30, timeout=10000) </annotation> </domain> <domain name="Stateful Bean" extends="Base Stateful Bean" inheritBindings="true"> <!-- NON Clustered cache configuration --> <annotation expr="!class(@org.jboss.annotation.ejb.cache.Cache) AND !class(@org.jboss.annotation.ejb.Clustered)"> @org.jboss.annotation.ejb.cache.Cache (org.jboss.ejb3.cache.simple.SimpleStatefulCache.class) </annotation> <annotation expr="!class(@org.jboss.annotation.ejb.cache.simple.PersistenceManager) AND !class(@org.jboss.annotation.ejb.Clustered)"> @org.jboss.annotation.ejb.cache.simple.PersistenceManager (org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager.class) </annotation> <annotation expr="!class(@org.jboss.annotation.ejb.cache.simple.CacheConfig) AND !class(@org.jboss.annotation.ejb.Clustered)"> @org.jboss.annotation.ejb.cache.simple.CacheConfig (maxSize=100000, idleTimeoutSeconds=300) </annotation> <!-- Clustered cache configuration --> <annotation expr="!class(@org.jboss.annotation.ejb.cache.Cache) AND class(@org.jboss.annotation.ejb.Clustered)"> @org.jboss.annotation.ejb.cache.Cache (org.jboss.ejb3.cache.tree.StatefulTreeCache.class) </annotation> <annotation expr="!class(@org.jboss.annotation.ejb.cache.tree.CacheConfig) AND class(@org.jboss.annotation.ejb.Clustered)"> @org.jboss.annotation.ejb.cache.tree.CacheConfig (name="jboss.cache:service=EJB3SFSBClusteredCache", maxSize=100000, idleTimeoutSeconds=300) </annotation> </domain> <domain name="Embedded Stateful Bean" extends="Base Stateful Bean" inheritBindings="true"> <!-- NON Clustered cache configuration --> <annotation expr="!class(@org.jboss.annotation.ejb.cache.Cache)"> @org.jboss.annotation.ejb.cache.Cache (org.jboss.ejb3.cache.NoPassivationCache.class) </annotation> </domain> <domain name="Message Driven Bean"> <bind pointcut="execution(* @javax.annotation.security.RunAs->*(..))"> <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/> </bind> <bind pointcut="execution(* *->*(..))"> <interceptor-ref name="org.jboss.ejb3.stateless.StatelessInstanceInterceptor"/> <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/> <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/> </bind> <bind pointcut="execution(* $typedef{ejb3intercepted}->*(..))"> <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/> </bind> <annotation expr="!class(@org.jboss.annotation.ejb.PoolClass)"> @org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.ThreadlocalPool.class, maxSize=30, timeout=10000) </annotation> </domain> <domain name="Message Inflow Driven Bean"> <bind pointcut="execution(* @javax.annotation.security.RunAs->*(..))"> <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/> </bind> <bind pointcut="execution(* *->*(..))"> <interceptor-ref name="org.jboss.ejb3.stateless.StatelessInstanceInterceptor"/> <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/> <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/> </bind> <bind pointcut="execution(* $typedef{ejb3intercepted}->*(..))"> <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/> </bind> <annotation expr="!class(@org.jboss.annotation.ejb.PoolClass)"> @org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.ThreadlocalPool.class, maxSize=30, timeout=10000) </annotation> </domain> <domain name="Consumer Bean"> <bind pointcut="execution(* @javax.annotation.security.RunAs->*(..))"> <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/> </bind> <bind pointcut="execution(* *->*(..))"> <interceptor-ref name="org.jboss.ejb3.stateless.StatelessInstanceInterceptor"/> <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/> <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/> </bind> <bind pointcut="execution(* *->*(..)) AND (has(* *->@org.jboss.annotation.ejb.CurrentMessage(..)) OR hasfield(* *->@org.jboss.annotation.ejb.CurrentMessage))"> <interceptor-ref name="org.jboss.ejb3.mdb.CurrentMessageInjectorInterceptorFactory"/> </bind> <bind pointcut="execution(* $typedef{ejb3intercepted}->*(..))"> <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/> </bind> <annotation expr="!class(@org.jboss.annotation.ejb.PoolClass)"> @org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.ThreadlocalPool.class, maxSize=30, timeout=10000) </annotation> </domain> <domain name="Service Bean"> <bind pointcut="execution(* *->*(..))"> <interceptor-ref name="org.jboss.ejb3.asynchronous.AsynchronousInterceptor"/> <interceptor-ref name="org.jboss.ejb3.ENCPropagationInterceptor"/> <interceptor-ref name="org.jboss.ejb3.security.AuthenticationInterceptorFactory"/> </bind> <bind pointcut="execution(* @org.jboss.annotation.security.SecurityDomain->*(..))"> <interceptor-ref name="org.jboss.ejb3.security.RoleBasedAuthorizationInterceptorFactory"/> </bind> <bind pointcut="execution(* @javax.annotation.security.RunAs->*(..))"> <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/> </bind> <bind pointcut="execution(* *->*(..))"> <interceptor-ref name="org.jboss.aspects.tx.TxPropagationInterceptor"/> <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/> <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/> </bind> <bind pointcut="execution(* $typedef{ejb3intercepted}->*(..)) AND !execution(* *->create()) AND !execution(* *->start())"> <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/> </bind> </domain> </aop> --- NEW FILE: embedded-jboss-beans.xml --- <?xml version="1.0" encoding="UTF-8"?> <deployment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:jboss:bean-deployer bean-deployer_1_0.xsd" xmlns="urn:jboss:bean-deployer:2.0"> <bean name="Naming" class="org.jnp.server.SingletonNamingServer"/> <bean name="InitialContextProperties" class="java.util.Hashtable"> <constructor> <parameter class="java.util.Map"> <map keyClass="java.lang.String" valueClass="java.lang.String"> <entry> <key>java.naming.factory.initial</key> <value>org.jnp.interfaces.LocalOnlyContextFactory</value> </entry> <entry> <key>java.naming.factory.url.pkgs</key> <value>org.jboss.naming:org.jnp.interfaces</value> </entry> </map> </parameter> </constructor> </bean> <bean name="java:comp/Initializer" class="org.jboss.ejb3.embedded.JavaCompInitializer"> <property name="jndiProperties"><inject bean="InitialContextProperties"/></property> </bean> <bean name="XidFactory" class="org.jboss.tm.XidFactoryImpl"/> <bean name="XidFactoryMBean" class="org.jboss.ejb3.embedded.XidFactoryMBean"> <constructor> <parameter class="org.jboss.tm.XidFactoryBase"> <inject bean="XidFactory"/> </parameter> </constructor> </bean> <bean name="TransactionManagerInitializer" class="org.jboss.tm.TransactionManagerInitializer"> <property name="xidFactory"><inject bean="XidFactory"/></property> <property name="initialContextProperties"><inject bean="InitialContextProperties"/></property> </bean> <bean name="UserTransaction" class="org.jboss.ejb3.embedded.UserTransactionImpl"> <demand>TransactionManagerInitializer</demand> </bean> <bean name="UserTransactionBinding" class="org.jboss.ejb3.embedded.JndiBinder"> <property name="jndiProperties"><inject bean="InitialContextProperties"/></property> <property name="target"><inject bean="UserTransaction"/></property> <property name="bindTo">java:comp/UserTransaction</property> <property name="serializable">false</property> </bean> <bean name="TransactionManager" class="java.lang.Object"> <constructor factoryMethod="getTransactionManager"> <factory bean="TransactionManagerInitializer"/> </constructor> </bean> <bean name="CachedConnectionManager" class="org.jboss.resource.connectionmanager.CachedConnectionManagerReference"> <property name="transactionManager"><inject bean="TransactionManager"/></property> </bean> </deployment> --- NEW FILE: jndi.properties --- java.naming.factory.initial org.jnp.interfaces.LocalOnlyContextFactory java.naming.factory.url.pkgs org.jboss.naming:org.jnp.interfaces --- NEW FILE: log4j.properties --- ### direct log messages to stdout ### log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.Target=System.out log4j.appender.stdout.layout=org.apache.log4j.PatternLayout log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n ### direct messages to file hibernate.log ### #log4j.appender.file=org.apache.log4j.FileAppender #log4j.appender.file.File=hibernate.log #log4j.appender.file.layout=org.apache.log4j.PatternLayout #log4j.appender.file.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n ### set log levels - for more verbose logging change 'info' to 'debug' ### log4j.rootLogger=info, stdout log4j.logger.org.hibernate.ce=debug #log4j.logger.org.jboss=trace #log4j.logger.org.hibernate=trace ### log static startup SQL generation #log4j.logger.org.hibernate.persister.entity=debug ### log HQL query parser activity #log4j.logger.org.hibernate.hql.ast.AST=debug ### log just the SQL #log4j.logger.org.hibernate.SQL=debug ### log JDBC bind parameters ### #log4j.logger.org.hibernate.type=debug ### log schema export/update ### #log4j.logger.org.hibernate.tool.hbm2ddl=debug ### log HQL parse trees #log4j.logger.org.hibernate.hql=debug ### log cache activity ### #log4j.logger.org.hibernate.cache=debug ### log transaction activity #log4j.logger.org.hibernate.transaction=debug ### log JDBC resource acquisition #log4j.logger.org.hibernate.jdbc=debug ### enable the following line if you want to track down connection ### ### leakages when using DriverManagerConnectionProvider ### #log4j.logger.org.hibernate.connection.DriverManagerConnectionProvider=trace |
Update of /cvsroot/hibernate/CaveatEmptor/HiA-SE/src/etc/testng/conf.container In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5762/HiA-SE/src/etc/testng/conf.container Removed Files: default.persistence.properties ejb3-interceptors-aop.xml embedded-jboss-beans.xml jndi.properties Log Message: Merged Seam and TestNG configuration --- default.persistence.properties DELETED --- --- ejb3-interceptors-aop.xml DELETED --- --- embedded-jboss-beans.xml DELETED --- --- jndi.properties DELETED --- |
Update of /cvsroot/hibernate/CaveatEmptor/HiA-SE/src/etc/conf In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5762/HiA-SE/src/etc/conf Added Files: hibernate-jta.cfg.xml hibernate.cfg.xml import.sql seam-jndi.properties seam.properties Log Message: Merged Seam and TestNG configuration --- NEW FILE: hibernate-jta.cfg.xml --- <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD//EN" "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"> <!-- Alternative Hibernate configuration for a managed environment with JTA available and a JNDI-bound datasource. --> <hibernate-configuration> <session-factory name="java:/caveatEmptorSessionFactory"> <!-- Settings for a local HSQL (testing) database through JTA datasource--> <property name="dialect">org.hibernate.dialect.HSQLDialect</property> <property name="connection.datasource">java:/caveatemptorDatasource</property> <property name="transaction.manager_lookup_class">org.hibernate.transaction.JBossTransactionManagerLookup</property> <property name="transaction.factory_class">org.hibernate.transaction.JTATransactionFactory</property> <!-- Disable the second-level cache. --> <property name="cache.provider_class">org.hibernate.cache.NoCacheProvider</property> <property name="cache.use_query_cache">false</property> <property name="cache.use_minimal_puts">false</property> <property name="max_fetch_depth">3</property> <!-- Print SQL to stdout. --> <property name="show_sql">true</property> <property name="format_sql">true</property> <property name="use_sql_comments">true</property> <!-- Drop and then re-create schema on SessionFactory build, for testing. --> <property name="hbm2ddl.auto">create</property> <!-- Batch inserts are currently broken, no idea why... --> <property name="jdbc.batch_size">0</property> <!-- Use session-per-request thread-bound persistence context propagation. --> <property name="current_session_context_class">thread</property> <!-- CaveatEmptor mapping files. --> <!-- --> <mapping resource="org/hibernate/ce/auction/persistence/UserTypes.hbm.xml"/> <mapping resource="org/hibernate/ce/auction/persistence/NamedQueries.hbm.xml"/> <mapping resource="org/hibernate/ce/auction/persistence/DynamicFilters.hbm.xml"/> <mapping resource="org/hibernate/ce/auction/persistence/audit/AuditLogRecord.hbm.xml"/> <mapping resource="org/hibernate/ce/auction/model/User.hbm.xml"/> <mapping resource="org/hibernate/ce/auction/model/BillingDetails.hbm.xml"/> <mapping resource="org/hibernate/ce/auction/model/Item.hbm.xml"/> <mapping resource="org/hibernate/ce/auction/model/Category.hbm.xml"/> <mapping resource="org/hibernate/ce/auction/model/CategorizedItem.hbm.xml"/> <mapping resource="org/hibernate/ce/auction/model/Bid.hbm.xml"/> <mapping resource="org/hibernate/ce/auction/model/Comment.hbm.xml"/> <mapping resource="org/hibernate/ce/auction/model/AddressEntity.hbm.xml"/> <mapping resource="org/hibernate/ce/auction/model/Shipment.hbm.xml"/> <!-- CaveatEmptor annotated EJB3 entity beans. <mapping package="org.hibernate.ce.auction.persistence"/> <mapping class="org.hibernate.ce.auction.persistence.audit.AuditLogRecord"/> <mapping class="org.hibernate.ce.auction.model.User"/> <mapping class="org.hibernate.ce.auction.model.Item"/> <mapping class="org.hibernate.ce.auction.model.Category"/> <mapping class="org.hibernate.ce.auction.model.CategorizedItem"/> <mapping class="org.hibernate.ce.auction.model.Bid"/> <mapping class="org.hibernate.ce.auction.model.BillingDetails"/> <mapping class="org.hibernate.ce.auction.model.CreditCard"/> <mapping class="org.hibernate.ce.auction.model.BankAccount"/> <mapping class="org.hibernate.ce.auction.model.Comment"/> <mapping class="org.hibernate.ce.auction.model.AddressEntity"/> <mapping class="org.hibernate.ce.auction.model.Shipment"/> --> </session-factory> </hibernate-configuration> --- NEW FILE: hibernate.cfg.xml --- <!DOCTYPE hibernate-configuration SYSTEM "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"> <hibernate-configuration> <session-factory> <!-- Don't forget to copy your JDBC driver to the lib/ directory! --> <!-- Settings for a local HSQL (testing) database. --> <property name="dialect">org.hibernate.dialect.HSQLDialect</property> <property name="connection.driver_class">org.hsqldb.jdbcDriver</property> <property name="connection.url">jdbc:hsqldb:hsql://localhost</property> <property name="connection.username">sa</property> <property name="connection.password"></property> <!-- Settings for a local PostgreSQL database. <property name="dialect">org.hibernate.dialect.PostgreSQLDialect</property> <property name="query.substitutions">yes 'Y', no 'N'</property> <property name="connection.driver_class">org.hibernate.ce.auction.persistence.pgsql.NativeAdapter</property> <property name="connection.url">jdbc:postgresql://localhost/test</property> <property name="connection.username">test</property> <property name="connection.password"></property> --> <!-- Settings for a MySQL database. <property name="dialect">org.hibernate.dialect.MySQLInnoDBDialect</property> <property name="connection.driver_class">com.mysql.jdbc.Driver</property> <property name="connection.url">jdbc:mysql://localhost/test</property> <property name="connection.username">test</property> <property name="connection.password">test</property> --> <!-- Settings for an Oracle9/10g database. <property name="dialect">org.hibernate.dialect.Oracle9Dialect</property> <property name="connection.driver_class">oracle.jdbc.driver.OracleDriver</property> <property name="connection.url">jdbc:oracle:thin:@localhost:1521:ORAC9</property> <property name="connection.username">test</property> <property name="connection.password">test</property> --> <!-- Use the C3P0 connection pool. <property name="c3p0.min_size">3</property> <property name="c3p0.max_size">5</property> <property name="c3p0.timeout">1800</property> --> <!-- Use the Hibernate built-in pool for tests. --> <property name="connection.pool_size">1</property> <property name="connection.autocommit">false</property> <!-- Disable the second-level cache. --> <property name="cache.provider_class">org.hibernate.cache.NoCacheProvider</property> <property name="cache.use_query_cache">false</property> <property name="cache.use_minimal_puts">false</property> <property name="max_fetch_depth">3</property> <!-- Print SQL to stdout. --> <property name="show_sql">true</property> <property name="format_sql">true</property> <property name="use_sql_comments">true</property> <!-- Drop and then re-create schema on SessionFactory build, for testing. --> <property name="hbm2ddl.auto">create</property> <!-- Batch inserts are currently broken, no idea why... --> <property name="jdbc.batch_size">0</property> <!-- Use session-per-request thread-bound persistence context propagation. --> <property name="current_session_context_class">thread</property> <!-- CaveatEmptor mapping files. --> <!-- --> <mapping resource="org/hibernate/ce/auction/persistence/UserTypes.hbm.xml"/> <mapping resource="org/hibernate/ce/auction/persistence/NamedQueries.hbm.xml"/> <mapping resource="org/hibernate/ce/auction/persistence/DynamicFilters.hbm.xml"/> <mapping resource="org/hibernate/ce/auction/persistence/audit/AuditLogRecord.hbm.xml"/> <mapping resource="org/hibernate/ce/auction/model/User.hbm.xml"/> <mapping resource="org/hibernate/ce/auction/model/BillingDetails.hbm.xml"/> <mapping resource="org/hibernate/ce/auction/model/Item.hbm.xml"/> <mapping resource="org/hibernate/ce/auction/model/Category.hbm.xml"/> <mapping resource="org/hibernate/ce/auction/model/CategorizedItem.hbm.xml"/> <mapping resource="org/hibernate/ce/auction/model/Bid.hbm.xml"/> <mapping resource="org/hibernate/ce/auction/model/Comment.hbm.xml"/> <mapping resource="org/hibernate/ce/auction/model/AddressEntity.hbm.xml"/> <mapping resource="org/hibernate/ce/auction/model/Shipment.hbm.xml"/> <!-- CaveatEmptor annotated EJB3 entity beans. <mapping package="org.hibernate.ce.auction.persistence"/> <mapping class="org.hibernate.ce.auction.persistence.audit.AuditLogRecord"/> <mapping class="org.hibernate.ce.auction.model.User"/> <mapping class="org.hibernate.ce.auction.model.Item"/> <mapping class="org.hibernate.ce.auction.model.Category"/> <mapping class="org.hibernate.ce.auction.model.CategorizedItem"/> <mapping class="org.hibernate.ce.auction.model.Bid"/> <mapping class="org.hibernate.ce.auction.model.BillingDetails"/> <mapping class="org.hibernate.ce.auction.model.CreditCard"/> <mapping class="org.hibernate.ce.auction.model.BankAccount"/> <mapping class="org.hibernate.ce.auction.model.Comment"/> <mapping class="org.hibernate.ce.auction.model.AddressEntity"/> <mapping class="org.hibernate.ce.auction.model.Shipment"/> --> </session-factory> </hibernate-configuration> --- NEW FILE: import.sql --- // For MySQL 5.x (possibly works on older versions) //insert into USERS values ('1', '0', 'Admin', 'of the System', 'admin', 'admin', 'admin@caveatemptor', '999', true, sysdate(), 'n/a', 'n/a', 'n/a', null) //insert into CATEGORY values ('1', sysdate(), '1', '1', '6', 'Auctions', '0', null) //insert into CATEGORY values ('2', sysdate(), '1', '2', '5', 'CategoryOne', '0', '1') //insert into CATEGORY values ('3', sysdate(), '1', '3', '4', 'CategoryOneTwo', '0', '2') // For HSQL DB insert into USERS values ('1', '0', 'Admin', 'of the System', 'admin', 'admin', 'admin@caveatemptor', '999', true, sysdate, 'n/a', 'n/a', 'n/a', null) insert into CATEGORY values ('1', sysdate, '1', '1', '6', 'Auctions', '0', null) insert into CATEGORY values ('2', sysdate, '1', '2', '5', 'CategoryOne', '0', '1') insert into CATEGORY values ('3', sysdate, '1', '3', '4', 'CategoryOneTwo', '0', '2') --- NEW FILE: seam-jndi.properties --- java.naming.factory.initial org.jnp.interfaces.LocalOnlyContextFactory java.naming.factory.url.pkgs org.jboss.naming:org.jnp.interfaces --- NEW FILE: seam.properties --- # Seam manages a Hibernate Session (set PhaseListener in faces-config.xml for strategy) #org.jboss.seam.core.init.managedSessions = caveatemptorDatabase #caveatemptorDatabase.sessionFactoryName = java:/hibernate/caveatemptorDatabase # Conversation timeout (in milliseconds) #org.jboss.seam.core.manager.conversationTimeout = 120000 # Store Conversation state in serialized form on the client (needs bugfix in Hibernate) #org.jboss.seam.core.init.clientSideConversations = true # Seam bootstraps the JBoss Microcontainer #org.jboss.seam.core.init.componentClasses = org.jboss.seam.core.Microcontainer # JNDI settings to access the JBoss Microcontainer registry #seam.jndi.java.naming.factory.initial = org.jnp.interfaces.NamingContextFactory #seam.jndi.java.naming.factory.url.pkgs = org.jboss.naming:org.jnp.interfaces |
From: <tu...@us...> - 2006-02-25 13:00:49
|
Update of /cvsroot/hibernate/CaveatEmptor/HiA-SE/src/etc/testng/conf/META-INF In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5762/HiA-SE/src/etc/testng/conf/META-INF Removed Files: jboss-aop.xml persistence.xml Log Message: Merged Seam and TestNG configuration --- jboss-aop.xml DELETED --- --- persistence.xml DELETED --- |
From: <tu...@us...> - 2006-02-25 12:42:04
|
Update of /cvsroot/hibernate/CaveatEmptor/HiA-SE/src/etc/conf/META-INF In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30053/HiA-SE/src/etc/conf/META-INF Log Message: Directory /cvsroot/hibernate/CaveatEmptor/HiA-SE/src/etc/conf/META-INF added to the repository |
From: <tu...@us...> - 2006-02-25 12:40:31
|
Update of /cvsroot/hibernate/CaveatEmptor/HiA-SE/src/etc/conf.container/conf.container In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29589/HiA-SE/src/etc/conf.container/conf.container Log Message: Directory /cvsroot/hibernate/CaveatEmptor/HiA-SE/src/etc/conf.container/conf.container added to the repository |
From: <tu...@us...> - 2006-02-25 12:39:58
|
Update of /cvsroot/hibernate/CaveatEmptor/HiA-SE/src/etc/conf.container In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29179/HiA-SE/src/etc/conf.container Log Message: Directory /cvsroot/hibernate/CaveatEmptor/HiA-SE/src/etc/conf.container added to the repository |