Please vote for these bugs

Mojo The Maven exec plugin dropped/broke support for configuration an output file. It should be fixed: http://jira.codehaus.org/browse/MEXEC-86 JBoss Hibernate 4 supports auto type registration. This is a pretty powerful feature and makes using JodaTime in your entities a whole lot easier. Unfortunately, hbm2ddl doesn’t support that yet which means that you can’t remove the @Type […]

JRebel side effects?

While debugging a Spring/Hibernate-based web application I found this in the logs. Pre-bound JDBC Connection found! HibernateTransactionManager does not support running within DataSourceTransactionManager if told to manage the DataSource itself. It is recommended to use a single HibernateTransactionManager for all transactions on a single DataSource, no matter whether Hibernate or JDBC access. Sounds as something […]

How to add AccessDescisionVoters to AccessDescisionManager in Spring Security

Here’s a pretty neat approach to add AccessDescisionVoters to the default AccessDescisionManager in Spring Security: /** * This BeanPostProcessor adds all {@link AccessDecisionVoter}s that are set with * {@link #setAdditionalAccessDecisionVoters(List)} to beans that are instances of {@link AffirmativeBased}. This is the * default {@link AccessDecisionManager} implementation that the spring security namespace handler creates. * <p> […]