"Real" JEE Example for JBoss EAP 6.1.x, showing the mentioned UnsupportedOperationException. Its based on hibernate4 quickstart project.