Configutration.generateSchemaCreationScript() is removed from hibernate 5.x. My existing code snippets as below,
Configuration cfg = new Configuration();
cfg.addInputStream(hbmFileInputStream);
cfg.addInputStream(hbmStandTabFileInputStream);
Properties props = new Properties();
props.load(hibPropertiesStream);
cfg.setProperties(props);
final Dialect dialect = Dialect.getDialect(cfg.getProperties());
String[] createSQL = cfg.generateSchemaCreationScript(dialect);
Please share the code snippets if someone is already upgraded above type of code.
Thanks.