1

Is it possibility to populate database after auto creating with Kundera? I have prepared import.cql file with required data for application and need something like

<property name="hibernate.hbm2ddl.import_files" value="import.sql"/> 

Thanks for advance

NikedLab
  • 883
  • 4
  • 11
  • 31

1 Answers1

1

No, you have to manually run these scripts to create application data. Only Schema Generation using Kundera is possible.

Dev
  • 13,492
  • 19
  • 81
  • 174
  • Indeed. However it is not usable way for update DB in SAAS solutions, f.e. fill static data as like countries/cities/states etc and update them. In my opinion Kundera require tool for support migrations for altering tables, executing custom scripts. @Flyway great tool but I'm not sure about Cassandra support – NikedLab Sep 07 '16 at 07:28
  • Thanks @NikedLab We(_Kundera Team_) can think about adding this feature. – Dev Sep 13 '16 at 10:04
  • It will be great. Thanks – NikedLab Sep 13 '16 at 10:41