Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Update: According to the <a href="https://code.google.com/p/googleappengine/issues/detail?id=9634" rel="nofollow">GAE issue tracker</a>, this has been fixed in version 1.9.7. For earlier versions, see below.</p> <hr> <p>Hibernate Validator 5.x makes use of the <a href="https://docs.jboss.org/hibernate/stable/validator/reference/en-US/html_single/#validator-gettingstarted-uel" rel="nofollow">Unified Expression Language</a>. In particular, it uses a static API method that looks up an implementation of <code>ExpressionFactory</code>. A <a href="https://code.google.com/p/googleappengine/issues/detail?id=9634" rel="nofollow">bug</a> in App Engine 1.9.4 and earlier, however, seems to prevent the use of any expression factory implementation <strong>in production only</strong>.</p> <p>Until this is fixed, there are two workarounds:</p> <ol> <li><p>If you don't need the Bean Validation 1.1 features, fall back to Hibernate Validator 4.3.1.Final. I have successfully tested this.</p> <pre><code>&lt;dependency&gt; &lt;groupId&gt;org.hibernate&lt;/groupId&gt; &lt;artifactId&gt;hibernate-validator&lt;/artifactId&gt; &lt;version&gt;4.3.1.Final&lt;/version&gt; &lt;/dependency&gt; </code></pre></li> <li><p>If you need Bean Validation 1.1, there have been <a href="https://code.google.com/p/googleappengine/issues/detail?id=9634#c13" rel="nofollow">reports</a> to make this work with a repository snapshot of Apache BVal. I haven't tested this.</p></li> </ol> <hr> <p>Update note: Specifying the expression language implementation as stated in my earlier response (Glassfish EL or JUEL) works fine in development and also in certain production use cases, but will still fail for some validations.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload