svnno****@sourc*****
svnno****@sourc*****
2009年 5月 8日 (金) 23:37:38 JST
Revision: 3392 http://svn.sourceforge.jp/view?root=jiemamy&view=rev&rev=3392 Author: daisuke_m Date: 2009-05-08 23:37:38 +0900 (Fri, 08 May 2009) Log Message: ----------- [CORE-124] GenericDialectに予約語バリデータを組み込み忘れていたので追加。 Modified Paths: -------------- artemis/trunk/jiemamy-core/src/main/java/org/jiemamy/dialect/generic/GenericDialect.java -------------- next part -------------- Modified: artemis/trunk/jiemamy-core/src/main/java/org/jiemamy/dialect/generic/GenericDialect.java =================================================================== --- artemis/trunk/jiemamy-core/src/main/java/org/jiemamy/dialect/generic/GenericDialect.java 2009-05-08 14:13:47 UTC (rev 3391) +++ artemis/trunk/jiemamy-core/src/main/java/org/jiemamy/dialect/generic/GenericDialect.java 2009-05-08 14:37:38 UTC (rev 3392) @@ -37,6 +37,8 @@ import org.jiemamy.model.datatype.adapter.TimezonedDataTypeAdapter; import org.jiemamy.model.sql.SqlStatement; import org.jiemamy.utils.CollectionsUtil; +import org.jiemamy.validator.CompositeValidator; +import org.jiemamy.validator.Validator; /** * 全てのSQL方言に対応し得る、最大公約数的なSQL方言実装クラス。 @@ -100,6 +102,13 @@ } @Override + public Validator getValidator() { + CompositeValidator validator = (CompositeValidator) super.getValidator(); + validator.getValidators().add(new GenericValidator()); + return validator; + } + + @Override public String toString() { return this.getClass().getName(); }