Testing spring framework.

basic hibernate code.