While upgrading to the latest version of Hibernate, I ran into a couple of issues that I thought I would document. Hopefully these tips help out someone else who runs into the same problems.
java
What is Phase2 up to?
With all of the recent hoopla we have been stirring up on our blog and in the Drupal community about the Drupal Calais modules, it is easy to lose track of all the other fantastic things we have been doing here at Phase2. Here is a quick rundown of some of our latest projects.
RESTful URL Support in Apache Struts 2
With the explosion of web frameworks such as Ruby on Rails that advocate (and even dictate) that you use RESTful URLs for your applications, I was shocked when I discovered that Apache’s Struts 2 Java web framework does not provide near the same level of support for this behavior.
Hibernate Patterns: polymorphic many-to-one
Recently I found myself in a situation where I needed to define a persistent many-to-one relationship in which the concrete class of the many side could vary. In the past I’d had some issues with class inheritance and Hibernate, which can get sticky because of Hibernate proxies: you can’t always cast the proxies to the desired type. Since I had to find a way to make this work, I decided to give interface inheritance a try.

Delicious
Digg
StumbleUpon
Reddit
Technorati
Recent comments
2 hours 4 min ago
2 hours 9 min ago
4 hours 13 min ago
1 day 5 hours ago
2 days 4 hours ago
2 days 21 hours ago
1 week 1 day ago
1 week 6 days ago
1 week 6 days ago
2 weeks 16 hours ago