Could someone please tell about ways to load initial data? Most obvious way is to use SQL script. But in case if ORM used in project, is it will be better to use Dao to write to database(or initial data is exceptional case, and it's ok to use SQL)? Csv looks very good, and can be converted to entities, then saved to database. But, seems it's impossible to store collections in csv. SAP Hybris has mechanism called "impex"(csv with header which looks like sql), but I can't find similar open source tool. Can someone suggest what can be used, except SQL?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.