【问题标题】:How to use @SQLInsert with ResultCheckStyle.NONE in Grails to achieve Postgres partitioning如何在 Grails 中使用 @SQLInsert 和 ResultCheckStyle.NONE 来实现 Postgres 分区
【发布时间】:2012-02-28 10:35:39
【问题描述】:

我想将 Grails 与 Postgres 一起使用并对表进行分区。 我知道,在分区方面,Hibernate 和 Postgres 并不是最佳组合。 我读过here (slide 25),我可以通过使用@SQLInsertResultCheckStyle.NONE 来解决这个问题。 我在 Grails 中找不到类似的东西。有可能吗?

谢谢

【问题讨论】:

    标签: hibernate postgresql grails partitioning database-partitioning


    【解决方案1】:

    我找到了答案,并在 github 上创建了一个示例项目来涵盖它。 此外,它还展示了如何将 Grails 与分区 Postgres 表一起使用。

    https://github.com/krstns/grailsPostgresPartitioning

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-09-04
      • 2019-11-22
      • 1970-01-01
      • 2021-07-14
      相关资源
      最近更新 更多