change hibernate config for using JNDI

Now you must config your server to use datasource for connection to
mysql server