jed's blog

JQuery event trigger result in WebWork 2.2.x and Struts2

It is pretty easy construct a JQuery-based event trigger result analogous to the dojo stuff that comes with Struts2 /WebWork 2.2.x


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.


Syndicate content