dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #34390
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 17653: disable JSR-303 validation
------------------------------------------------------------
revno: 17653
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2014-12-04 15:08:24 +0700
message:
disable JSR-303 validation
modified:
dhis-2/dhis-support/dhis-support-hibernate/src/main/resources/hibernate-default.properties
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-support/dhis-support-hibernate/src/main/resources/hibernate-default.properties'
--- dhis-2/dhis-support/dhis-support-hibernate/src/main/resources/hibernate-default.properties 2014-10-22 07:06:45 +0000
+++ dhis-2/dhis-support/dhis-support-hibernate/src/main/resources/hibernate-default.properties 2014-12-04 08:08:24 +0000
@@ -50,3 +50,9 @@
# hibernate.show_sql = true
# hibernate.format_sql = true
# hibernate.use_sql_comments = true
+
+# Validation
+
+javax.persistence.validation.mode = none
+hibernate.validator.apply_to_ddl = false
+hibernate.validator.autoregister_listeners = false