Hello!
Here's my problem - I have a table, that I would like to prefill with some fixed data via some hibernate mapping file or something. So, whenever the table does not exist or is empty, it is created and prefilled with some data.
The only thing I can think of that might something to do with my problem, is <database-object> in the Hibernate manual (5.7. Auxiliary Database Objects). But I'd need a concrete example, how to insert data through hibernate files.
If this is a dumb question, just punch me in the face and I'll keep looking for the answer... :)
Thanks!
|