Originally posted by Bhavin Sanghani:
Hi,
Anybody knows how to populate application's internal data using hibernate? So, whenever database is created I dont need to execute script to populate the data.
Thanks,
Bhavin
During application start-up you want to insert record, right?
When you are creating Hibernate Session Factory you build your objects such way that you could populate your data with out running script.