Commits

Justin Koke committed 435125c

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

Comments (0)

Files changed (4)

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"/>

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>

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>

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>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.