Great, I found a work arround on this page:
http://www.hibernate.org/116.html#A33
Still, might I ask why hibernate does not support naming a property zIndex? Since this has been turned into a FAQ I am obviously not the first person to encounter this problem - would it not be a great help, if hibernate was changed to support this? And would it not be trivial to fix this?
It has been a while since I read the JavaBeans spec, but I do not recall any obvious reasons why you should not be allowed to call a bean property zIndex, and, to no surprise, doing so is accepted by the java compiler...
Randahl