In the past few months I got the impression that something in our explanation of object/relational mapping has gone a little wrong. I'm still not sure that this is the fault of any documentation or presentation slide, it's just something that naturally happened...
Over the past few months we have been adding some simplifications to
the way you can use and specify native sql queries in Hibernate.
Gavin even blogged about some of them earlier , but I thought it were about time we brought some more news on this blog about it.
It would be great if I could use the TestNG plugin for IntelliJ but I'm still on version 4.5 and
its only available for IDEA 5. Tried to switch a few times but the XML editor just doesn't work
anymore and throws exceptions faster than I can click. I want the XML editor of IDEA 3.x back, it
just worked and didn't have the goofy indentation routines of 4.x...
Annotations are undoubtedly the coolest new thing in Java SE 5 and will deeply change the way we write Java code. In the process of designing EJB 3.0, Hibernate Validator and Seam, we've had a chance to really start to stretch the use of annotations to the limit. It's striking just how many kinds of things may be expressed more elegantly and efficiently in declarative mode when you have a facility for mixing declaration and logic into the same source file. We've seen that in practice, whatever initial misgivings people may have about Java annotations, once they actually start using something like EJB 3.0 in a real project, they experience such a productivity increase that they quickly become comfortable with the approach.
Earlier today I saw a transaction question targeted for a completely
different audience pop up as the first headline news item on a well
known java news site.
Besides giving me and my colleagues a good laugh
about bugs and transactions it also touched upon one of the questions
that have given me a couple of free beers in bar bets and been
mind-boggling for students during trainings.
The question relates to the following (simplified) code: