title: What's the best practice for saving initial data in JHipster?
body: <p>I'm working on a project where some entities are supposed to contain initial data that should be set up when the application is started for the first time.</p>
  
  <p>As of now, we have a function executing when a service is used and if the corresponding entity is empty. But this forces us to check this entity with an <code>if</code> statement everytime the service is called. It was supposed to be a temporary solution.</p>
  
  <p>Now I'm wondering what could be the best way to save that initial data. Is it by using an insertion query that would be executed after setting up the database with all its tables structure (in master.xml for example) ? If so, how can we make sure the data won't be inserted again after restarting the application ? Or is the best way still using the entity services, but then how to do it effectively ?</p>