Commits

Justin Koke  committed 435125c

We need to add new entries so we can access the new hibernate implementations

  • Participants
  • Parent commits e2f2d09

Comments (0)

Files changed (4)

File core/src/main/resources/META-INF/propertyset-default.xml

     <!-- Additional implementations of PropertySet interface not necessarily used together --> 
     <propertyset name="ejb" class="com.opensymphony.module.propertyset.ejb.EJBPropertySet"/>
     <propertyset name="ejb3" class="com.opensymphony.module.propertyset.ejb3.EJBPropertySetImpl"/>
-    <propertyset name="hibernate" class="com.opensymphony.module.propertyset.hibernate.HibernatePropertySet"/>
+    <propertyset name="hibernate" class="com.opensymphony.module.propertyset.hibernate.HibernatePropertySet" />
+    <propertyset name="hibernate3" class="com.opensymphony.module.propertyset.hibernate3.HibernatePropertySet" />
+    <propertyset name="hibernate4" class="com.opensymphony.module.propertyset.hibernate4.HibernatePropertySet" />
     <propertyset name="jdbc" class="com.opensymphony.module.propertyset.database.JDBCPropertySet">
         <arg name="datasource" value="jdbc/DefaultDS"/>
         <arg name="table.name" value="OS_PROPERTYENTRY"/>

File core/src/test/resources/propertyset-default.xml

     <propertyset name="serializable" class="com.opensymphony.module.propertyset.memory.SerializablePropertySet"/>
     <propertyset name="ofbiz" class="com.opensymphony.module.propertyset.ofbiz.OFBizPropertySet"/>
     <propertyset name="hibernate" class="com.opensymphony.module.propertyset.hibernate.HibernatePropertySet" />
+    <propertyset name="hibernate3" class="com.opensymphony.module.propertyset.hibernate3.HibernatePropertySet" />
+    <propertyset name="hibernate4" class="com.opensymphony.module.propertyset.hibernate4.HibernatePropertySet" />
   <propertyset name="ojb" class="com.opensymphony.module.propertyset.ojb.OJBPropertySet"/>
   <propertyset name="xml" class="com.opensymphony.module.propertyset.xml.XMLPropertySet"/>
 </propertysets>

File src/etc/propertyset-default.xml

     <propertyset name="javabeans" class="com.opensymphony.module.propertyset.javabeans.BeanIntrospectorPropertySet"/>
     <propertyset name="map" class="com.opensymphony.module.propertyset.map.MapPropertySet"/>
     <propertyset name="memory" class="com.opensymphony.module.propertyset.memory.MemoryPropertySet"/>
-    <propertyset name="properties" class="com.opensymphony.module.propertyset.file.PropertiesFilePropertySet" />
+    <propertyset name="properties" class="com.opensymphony.module.propertyset.file.PropertiesFilePropertySet"/>
     <propertyset name="serializable" class="com.opensymphony.module.propertyset.memory.SerializablePropertySet"/>
     <propertyset name="ofbiz" class="com.opensymphony.module.propertyset.ofbiz.OFBizPropertySet"/>
-    <propertyset name="hibernate" class="com.opensymphony.module.propertyset.hibernate.HibernatePropertySet" />
-  <propertyset name="ojb" class="com.opensymphony.module.propertyset.ojb.OJBPropertySet"/>
-  <propertyset name="xml" class="com.opensymphony.module.propertyset.xml.XMLPropertySet"/>
+    <propertyset name="hibernate" class="com.opensymphony.module.propertyset.hibernate.HibernatePropertySet"/>
+    <propertyset name="hibernate3" class="com.opensymphony.module.propertyset.hibernate3.HibernatePropertySet"/>
+    <propertyset name="hibernate4" class="com.opensymphony.module.propertyset.hibernate4.HibernatePropertySet"/>
+    <propertyset name="ojb" class="com.opensymphony.module.propertyset.ojb.OJBPropertySet"/>
+    <propertyset name="xml" class="com.opensymphony.module.propertyset.xml.XMLPropertySet"/>
 </propertysets>

File test/src/test/resources/propertyset.xml

     <propertyset name="serializable" class="com.opensymphony.module.propertyset.memory.SerializablePropertySet"/>
     <propertyset name="ofbiz" class="com.opensymphony.module.propertyset.ofbiz.OFBizPropertySet"/>
     <propertyset name="hibernate" class="com.opensymphony.module.propertyset.hibernate.HibernatePropertySet">
-        <arg name="hibernate.connection.datasource" value="jdbc/DefaultDS" />
+        <arg name="hibernate.connection.datasource" value="jdbc/DefaultDS"/>
+    </propertyset>
+    <propertyset name="hibernate3" class="com.opensymphony.module.propertyset.hibernate3.HibernatePropertySet">
+        <arg name="hibernate.connection.datasource" value="jdbc/DefaultDS"/>
+    </propertyset>
+    <propertyset name="hibernate4" class="com.opensymphony.module.propertyset.hibernate4.HibernatePropertySet">
+        <arg name="hibernate.connection.datasource" value="jdbc/DefaultDS"/>
     </propertyset>
     <propertyset name="xml" class="com.opensymphony.module.propertyset.xml.XMLPropertySet"/>
 </propertysets>