Thank you Julien. I've done what you said. No success. My hibernate portal 
configuration now looks like


  | <?xml version='1.0' encoding='utf-8'?>
  | <!DOCTYPE hibernate-configuration PUBLIC
  |     "-//Hibernate/Hibernate Configuration DTD//EN"
  |     "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd";>
  | <hibernate-configuration>
  |    <session-factory
  |       name="java:portal/SessionFactory">
  |       <property name="connection.datasource">java:PortalDS</property>
  |       <property name="show_sql">false</property>
  |       <property name="transaction.flush_before_completion">true</property>
  |       <property name="transaction.auto_close_session">true</property>
  |       <property 
name="transaction.factory_class">org.hibernate.transaction.JTATransactionFactory</property>
  |       <property 
name="transaction.manager_lookup_class">org.hibernate.transaction.JBossTransactionManagerLookup</property>
  | 
  |       <!-- Force the dialect instead of using autodetection -->
  |       <!--
  |       <property 
name="dialect">org.hibernate.dialect.PostgreSQLDialect</property>
  |       -->
  | 
  |       <!-- Mapping files -->
  |       <mapping resource="org/jboss/portal/core/impl/role/RoleImpl.hbm.xml"/>
  |       <mapping resource="org/jboss/portal/core/impl/user/UserImpl.hbm.xml"/>
  |       <mapping resource="org/jboss/portal/core/impl/user/UserPref.hbm.xml"/>
  |       <mapping 
resource="org/jboss/portal/core/impl/user/UserPrefSet.hbm.xml"/>
  |    </session-factory>
  | </hibernate-configuration>
  | 

Hope you have more ideas :-)

Regards,
Sven Schulz

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3897841#3897841

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3897841


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to