[portal-commits] JBoss Portal SVN: r6107 - in trunk: test/src/etc and 1 other directory.

portal-commits at lists.jboss.org portal-commits at lists.jboss.org
Sat Jan 27 18:01:49 EST 2007


Author: julien at jboss.com
Date: 2007-01-27 18:01:49 -0500 (Sat, 27 Jan 2007)
New Revision: 6107

Modified:
   trunk/core/src/resources/portal-core-sar/conf/hibernate/portlet/domain.hbm.xml
   trunk/test/src/etc/datasources.xml
Log:
added table name for persitent properties of wsrp registrations.
changed name of table name for wsrp registrations to be a little bit shorter.

Modified: trunk/core/src/resources/portal-core-sar/conf/hibernate/portlet/domain.hbm.xml
===================================================================
--- trunk/core/src/resources/portal-core-sar/conf/hibernate/portlet/domain.hbm.xml	2007-01-27 21:54:09 UTC (rev 6106)
+++ trunk/core/src/resources/portal-core-sar/conf/hibernate/portlet/domain.hbm.xml	2007-01-27 23:01:49 UTC (rev 6107)
@@ -213,7 +213,7 @@
    </class>
    <class
       name="org.jboss.portal.core.impl.portlet.state.PersistentRegistration"
-      table="JBP_PORTLET_REGISTRATION">
+      table="JBP_PORTLET_REG">
       <cache usage="@portal.hibernate.cache.usage@"/>
       <id
          name="key"
@@ -225,6 +225,7 @@
       </id>
       <map
          name="persistentProperties"
+         table="JBP_PORTLET_REG_PROPERTIES"
          sort="unsorted"
          inverse="false"
          cascade="all-delete-orphan"

Modified: trunk/test/src/etc/datasources.xml
===================================================================
--- trunk/test/src/etc/datasources.xml	2007-01-27 21:54:09 UTC (rev 6106)
+++ trunk/test/src/etc/datasources.xml	2007-01-27 23:01:49 UTC (rev 6107)
@@ -31,6 +31,15 @@
       <password></password>
    </datasource>
 <!--
+   <datasource>
+     <datasource-name>mysql5</datasource-name>
+     <connection-url>jdbc:mysql://localhost:3306/jbossportal?useServerPrepStmts=false&amp;jdbcCompliantTruncation=false</connection-url>
+     <driver-class>com.mysql.jdbc.Driver</driver-class>
+     <user-name>portal</user-name>
+     <password>portalpassword</password>
+   </datasource>
+-->
+<!--
   <datasource>
     <datasource-name>oracle10g</datasource-name>
     <connection-url>jdbc:oracle:thin:jbossportal/portalpassword at 192.168.0.124:1521:orcl</connection-url>




More information about the portal-commits mailing list