By the way I am extremely unhappy with the way Hibernate intensively increase the non heap memory (permgen) by intensive use of CGLIB. The point is not what it does but that there is absolutely no information and no warnings about it. This is a pity! IT IS A REAL PROBLEM THAT MUST BE ADVERTISED AS WELL AS THE WORKAROUND by setting the option -XX:MaxPermSize=256m
This is upsetting everyone please, advertise !!!