Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/spring-boot/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/cassandra/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Spring boot 昆德拉·卡桑德拉之春_Spring Boot_Cassandra_Kundera - Fatal编程技术网

Spring boot 昆德拉·卡桑德拉之春

Spring boot 昆德拉·卡桑德拉之春,spring-boot,cassandra,kundera,Spring Boot,Cassandra,Kundera,使用昆德拉自动创建后是否有可能填充数据库? 我已经准备了import.cql文件,其中包含应用程序所需的数据,并且需要 <property name="hibernate.hbm2ddl.import_files" value="import.sql"/> 感谢advance否,您必须手动运行这些脚本才能创建应用程序数据。只有这样才有可能 的确如此。但是,在SAAS解决方案中,这不是更新数据库的可用方法,例如,填充静态数据,如国家/城市/州等,并对其进行更新。在我看来,昆德拉

使用昆德拉自动创建后是否有可能填充数据库? 我已经准备了import.cql文件,其中包含应用程序所需的数据,并且需要

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


感谢advance

否,您必须手动运行这些脚本才能创建应用程序数据。只有这样才有可能

的确如此。但是,在SAAS解决方案中,这不是更新数据库的可用方法,例如,填充静态数据,如国家/城市/州等,并对其进行更新。在我看来,昆德拉需要一个工具来支持迁移,以更改表,执行自定义脚本@Flyway是一款很棒的工具,但我不确定Cassandra是否支持感谢@NikedLab我们(昆德拉团队)可以考虑添加此功能。这将非常棒。谢谢