No, I’m not gay…
“No, I’m not gay……I just look French” – Gavin King Gavin, Emmanuel and Stéphane were constantly teasing each other during the Ceylon BOF @Devoxx 2012.
Parent category
“No, I’m not gay……I just look French” – Gavin King Gavin, Emmanuel and Stéphane were constantly teasing each other during the Ceylon BOF @Devoxx 2012.
…it rather becomes a stinking rotten pile of bytes within a year of unmaintained limbo.
WSDL and its mapping to Java never fail to puzzle me. The other day I was confused about OUT parameters (holders) vs. return types. CXF‘s wsdl2java produced those ugly and terrible to work methods with OUT parameters in one case and natural methods with return types in other cases. Here’s why. First the obvious…”If there […]
I’ve been using @Autowired in Spring for years and never really bothered to find out how it’s different from @Resource and @Inject. Until yesterday… There’s this blog post Spring Injection with @Resource, @Autowired and @Inject that explains the similarities and subtle differences really well.
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 […]
Just learned about HEDL, the Hibernate Entity Definition Language. It’s yet another DSL to ease the pain of working with JPA/Hibernate. I really feel the need to talk what’s so fundamentally wrong with HEDL and, to a lesser extent, with Hibernate’s own meta model generator. I’d like to show why Querydsl, particularly when used in […]
For the past 9 months I’ve been architect and lead-developer in a project that does Scrum as much as the customer permits us to do. Although I’m also a (double) certified Scrum Master with a long agile history, was one of the first Scrum Masters in Switzerland in 2005, I refused play this role actively […]
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 […]
JPA batch inserts (aka bulk inserts) may seem trivial at first. However, if you’re not careful you won’t see the performance gains you expect even though your application works “just fine”. If you follow the below guidelines your JPA batch inserts should be blazingly fast, though. JPA batch inserts with Hibernate All the material presented […]
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> […]