<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=blacklion" rel="nofollow">Oleg Alexeyev</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-8235?redirect=false" rel="nofollow">SPR-8235</a></strong> and commented</p>
<p dir="auto">Since H2 1.3.154 SQL error codes has changed in order to utilize commonly used ones. See the thread: <a href="http://groups.google.com/group/h2-database/browse_thread/thread/e4f6e77e3eebc1d4" rel="nofollow">http://groups.google.com/group/h2-database/browse_thread/thread/e4f6e77e3eebc1d4</a> and the change log: <a href="http://www.h2database.com/html/changelog.html" rel="nofollow">http://www.h2database.com/html/changelog.html</a>.</p>
<p dir="auto">This makes duplicate key condition undetected, DataIntegrityViolationException is thrown instead of DuplicateKeyException.</p>
<p dir="auto">In order to fix this error code 23505 needs to be added to duplicateKeyCodes property of H2 bean in org/springframework/jdbc/support/sql-error-codes.xml.</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 3.0.5</p>
<p dir="auto"><strong>Issue Links:</strong></p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398106953" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/12138" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/12138/hovercard" href="https://github.com/spring-projects/spring-framework/issues/12138">#12138</a> org.h2.jdbc.JdbcSQLException: NULL nicht zulässig für Feld "xyz" gets translated to org.springframework.jdbc.UncategorizedSQLException</li>
</ul>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=yatesco" rel="nofollow">Colin Yates</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-1294?redirect=false" rel="nofollow">SPR-1294</a></strong> and commented</p>
<p dir="auto">It is a pain that RedirectView appends all request parameters on the URL.  It would be nice to filter these in someway, example:</p>
<p dir="auto">[code]interface ParameterPredicate {<br>
boolean process(final String parameterName, final Object parameter);<br>
}<br>
[/code]</p>
<p dir="auto">RedirectView could then take an instance of this and check every parameter.  Implementations of ParameterPredicate could include an IncludeParameterPredicate, ExcludeParameterPredicate.  These implementations could include a set of regular expressions to apply to the parameter name.  Wiring would look like:</p>
<p dir="auto">[code]<br>
&lt;bean id="myView" class="org.springframework.web.servlet.view.RedirectView"&gt;<br>
&lt;property name="parameterPredicate"&gt;<br>
&lt;bean class="org.springframework.web.servlet.view.IncludeParameterPredicate"&gt;<br>
&lt;constructor-arg index="0"&gt;<br>
&lt;list&gt;<br>
&lt;value&gt;myName1&lt;/value&gt;<br>
&lt;value&gt;myName2&lt;/value&gt;<br>
&lt;/list&gt;<br>
&lt;/constructor-arg&gt;<br>
&lt;/bean&gt;<br>
&lt;/property&gt;<br>
&lt;/bean&gt;<br>
[/code]</p>
<p dir="auto">Although I am sure you guys will come up with a much neater implementation :)</p>
<p dir="auto"><a href="http://forum.springframework.org/viewtopic.php?t=8470&amp;highlight=&amp;sid=fb0f81783fb2d7b3081d76561eb109f7" rel="nofollow">http://forum.springframework.org/viewtopic.php?t=8470&amp;highlight=&amp;sid=fb0f81783fb2d7b3081d76561eb109f7</a></p>
<hr>
<p dir="auto"><strong>Affects:</strong> 1.2.3</p>
<p dir="auto"><strong>Issue Links:</strong></p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398102637" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/11462" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/11462/hovercard" href="https://github.com/spring-projects/spring-framework/issues/11462">#11462</a> Provide precise control over the attributes used in a redirect scenario (<em><strong>"is duplicated by"</strong></em>)</li>
<li><a href="https://jira.spring.io/browse/ROO-2158" rel="nofollow">ROO-2158</a> Deleting/creating/updating roo generated entities containing an enum property with lots of constants causes index out of bound exception while the scaffolded controller tries to redirect</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398081308" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/8614" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/8614/hovercard" href="https://github.com/spring-projects/spring-framework/issues/8614">#8614</a> RedirectView: make exposing of model parameters as request parameters optional</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398071674" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/7380" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/7380/hovercard" href="https://github.com/spring-projects/spring-framework/issues/7380">#7380</a> RedirectView with more flexible URL-building</li>
</ul>
<p dir="auto">18 votes, 19 watchers</p>