Update wgs-hibernate example to simplify it.