fixing hibernate generic
Merge github.com:fisthu/gispu