[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Dynamically changing Hibernate's SQL logging

2006-03-28 Thread artemis
Is there a way to turn on / off Hibernate's SQL logging dynamically by changing only log4j.xml? (I do not want keep updating hibernate.properties or hibernate_service.xml since they have been packaged in a .har file) My theory is to take out all SQL logging parameters from hibernate configurati

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: JBoss 4.0.2 wiyth Hibernate3 exception org.hibernate.Map

2005-08-01 Thread artemis
Here is the hibernate-service.xml: | | | | | | java:/PostgresDS | java:/org/hibernate/SessionFactory | net.sf.hibernate.dialect.PostgreSQLDialect | net.sf.hibernate.cache.HashtableCacheProvider | create | true | | H

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: JBoss 4.0.2 wiyth Hibernate3 exception org.hibernate.Map

2005-08-01 Thread artemis
Here is what I see when I deploy the .har file: 15:34:51,203 INFO [Hibernate] Using JDBC batch size : null 15:34:51,203 INFO [Configuration] Searching for mapping documents in jar: listenerHAR.har 15:34:51,203 INFO [Configuration] processing extends queue 15:34:51,203 INFO [Configuration] pr

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - JBoss 4.0.2 wiyth Hibernate3 exception org.hibernate.Mapping

2005-08-01 Thread artemis
Build .har, and deployed. This is my hbm.xml file. http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd";> Built a .war and in a sevlet, had following code: InitialContext ctx

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Class not found in HAR

2005-08-01 Thread artemis
There is the source of the problem if anyone is interested: Class files along with ...hbm.xml files have to be JARed, insted of expanded within the .HAR file. A similar bug has been known but this one must be new. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Class not found in HAR

2005-07-31 Thread artemis
"artemis" wrote : I have deployed .har based on the hibernate3 instructions (jboss 4.0.2, hibernate 3.0) | | here is my directory structure in | | har folder | WEB-INF | .classes | .ssi.listener.bean | CWsm

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Class not found in HAR

2005-07-31 Thread artemis
I have deployed .har based on the hibernate3 instructions (jboss 4.0.2, hibernate 3.0) here is my directory structure in har folder WEB-INF .classes .ssi.listener.bean WsmType.class WsmType.hbm.xml META-INF HibernateSer

[JBoss-user] [Beginners Corner] - ant won't build hello2 application

2005-07-07 Thread artemis
I want to build hello2 application (J2EE1.4 tutorial) by using ant1.6.5. Error message is something like: ..n\targets.xml:10: The j2ee.home property is not properly set in /j2eetutorial14/examples/common/build.properties. : j2ee.home is currently set to: C:\Program Files\jboss-4.0.3RC1