Lorenzo Pasquinelli
Lorenzo Pasquinelli

Reputation: 101

launch script hql or sql on hibernate start

I remember a function that permits to execute hql or sql script during hibernate startup. Someone remember command syntax? The sql script should be locate in meta-inf with a specific name...

Upvotes: 1

Views: 2248

Answers (1)

Peter Tillemans
Peter Tillemans

Reputation: 35341

Do you mean the 'import.sql' in the root of the classpath file which is executed when hibernate is started in 'create' mode?

Upvotes: 2

Related Questions