Adapt for Tomcat and MySQL
authorMathieu Baudier <mbaudier@argeo.org>
Thu, 10 Jul 2008 12:50:48 +0000 (12:50 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Thu, 10 Jul 2008 12:50:48 +0000 (12:50 +0000)
git-svn-id: https://svn.argeo.org/slc/trunk@1416 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

org.argeo.slc.hibernate/pom.xml
org.argeo.slc.hibernate/src/main/resources/org/argeo/slc/hibernate/test/SimpleResultPart.hbm.xml

index 743408f27f9266622fc052e40f190445f3f43db0..9217ab3d14032463b07c538dd14c4f14559495e0 100644 (file)
@@ -66,6 +66,7 @@
                <dependency>
                        <groupId>hsqldb</groupId>
                        <artifactId>hsqldb</artifactId>
+                       <scope>testing</scope>
                </dependency>
        </dependencies>
 </project>
\ No newline at end of file
index acd3b8cc5bbe0b5afc6dec2162fb030171b9593f..4c791e54128e5c644abd30fecc477358a6b057da 100644 (file)
@@ -4,14 +4,14 @@
        "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">\r
 <hibernate-mapping package="org.argeo.slc.core.test">\r
        <class name="SimpleResultPart" table="SIMPLE_RESULT_PART">\r
-               <cache usage="nonstrict-read-write" />
+               <cache usage="nonstrict-read-write" />\r
                <id name="tid" column="T_ID">\r
                        <generator class="native" />\r
                </id>\r
                <property name="status" column="STATUS" not-null="true" />\r
                <property name="message" column="MESSAGE" not-null="true" />\r
                <property name="exceptionMessage" column="EXCEPTION_MESSAGE"
-                       not-null="false" />
+                       type="text" not-null="false" lazy="true" />
                <property name="testRunUuid" column="TEST_RUN_UUID"
                        not-null="false" />
        </class>