Hi,
I am currently trying to migrate our old code from hibernate 3.3 to the last version.
This seems to work, however for now I had to removed calls to SchemaUpdate:
Code:
Configuration cfg = new Configuration();
/* here goes lot of driver,property and resource setup */
[...]
sessionFactory = cfg.buildSessionFactory();
SchemaUpdate update = new SchemaUpdate( cfg );
update.execute( false, true ); /* this line do not compile anymore with hibernate 5.1 */
So my question is: what is the exact replacement of update.execute ? (I have no idea what this code is supposed to do)
Documentation pointing to a execute with different parameter, where am i supposed to get them ?
Should I rewrite the whole bootstrapping process with the new API ?