SOMEDA Takashi
somed****@4dd*****
2007年 2月 13日 (火) 10:26:40 JST
はじめまして、染田と申します。 タイトルの通り、DDL発行についてご質問させてください。 現在 PostgresForest 4.0 (とそれに添付の JDBC ドライバ) を利用しているのですが、JDBC 経由で DDL 発行 (CREATE TABLE) すると、 テーブル自体は作成され Jpsql/psql ともにテーブルの存在は 確認できるのですが、実際に SELECT 文などを発行すると、 Exception が発生します。 ----- Jpsql ----- [2] \dt \table_cat table_schem table_name table_type remarks : {null} public xxxx TABLE {null} ----- SELECT 発行時のログ ----- Exception in thread "main" org.postgresforest.util.PSQLException: The table for xxxx is not defined as GSC. at org.postgresforest.vm.gsc.GscData.getTableInfo(GscData.java:291) at org.postgresforest.vm.gsc.GscData.isPartition(GscData.java:274) at org.postgresforest.vm.ReWriter.makeSelectQuery(ReWriter.java:188) at org.postgresforest.vm.ReWriter.rewrite(ReWriter.java:104) 以下に、Jpsql 経由の DDL 発行はサポートされていないとありますが、 同様に仮想化モジュール経由 (JDBC経由) での DDL もサポートされない、 という認識でよいのでしょうか。 https://sourceforge.jp/projects/postgresforest/document/admin_guide.html/ja/1/admin_guide.html#jpsql 環境は、 - PostgresForest 4.0 - PostgreSQL 8.1.4 - Java 1.5.0_10 です。 よろしくお願い致します。 -- SOMEDA Takashi Four-Dimensional Data, Inc email : somed****@4dd***** www : http://www.4dd.co.jp/ : http://techscore.com/ phone : 050-5527-7945