1

現在、Vertica をテストしています。vertica には jdbc ドライバーがあるため、動作させることができるはずです。

Eclipse リンクで vertica をサポートする簡単な方法はありますか? それをサポートする代替 orm フレームワーク (休止状態など) はありますか?

4

3 に答える 3

1

準拠したJDBCドライバーがある限り、EclipseLinkはVerticaで動作するはずです。

DDL生成などの一部の機能では、必要に応じて作成できるカスタムDatabasePlatformクラスが必要になる場合があります。ほとんどの機能は、汎用のDatabasePlatformで動作するはずです。

特定の問題が発生していますか?

于 2011-09-28T14:12:19.790 に答える
1

According to the Vertica Support Hibernate queries works with the org.hibernate.dialect.PostgreSQLDialect while this is true there are still some problems (exspecially with hbm2ddl) that can only be fixed with a custom dialect.

Among those are:

  • data type mapping: there are no 4 byte datatypes, so the default java int mapping to int4 doesn't work. same goes for several other types.
  • no indexes: for obvious reasons vertica doesn't know create index, if your model contains @index annotations, remove them

not sure how far postgres is from vertica but with my own custom dialect that inherits the postgres dialect everything works so far.

于 2011-09-30T13:22:16.227 に答える
0

最近、Hibernate を vertica と連携させようとしましたが、うまくいきませんでした。問題の 1 つは、その組み合わせに方言が存在しないことでした。Vertica のコンサルタントに相談したところ、hibernate のような ORM と Vertica のような DB はデータ ストレージに対して異なるアプローチを提供するため、この種のサポートを提供する計画はないという回答がありました。

于 2011-09-27T19:50:43.133 に答える