Tag: data

A Java alternative to import.sql using ApplicationListener


I’ve long been using a useful feature in Hibernate – import.sql files, which can fill your application at setup with development data. As the name suggests, however, this requires the execution of an SQL file. Clunky generating tools notwithstanding, this requires manual work. Refactoring becomes more difficult, it’s tricky to generate random data, and so