ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guoyou Jiang <guoyou.ji...@jsvest.com>
Subject migration tools support sql comment
Date Thu, 13 Aug 2009 14:52:41 GMT
seems if the sql file contains comment at line end will cause error, like
this:
CREATE TABLE groups
(
  id bigserial NOT NULL,                              *--the primary key*
  group_code varchar(50),*                           --code*
  group_name varchar(50) NOT NULL,
  group_type varchar(100) NOT NULL,
  parent_id bigint,
  department_type varchar(50),
  business_relation_type varchar(50),
  business_relation_value varchar(50),
  memo varchar(200),
  PRIMARY KEY (id),
  CONSTRAINT groups_parent_id_fkey FOREIGN KEY (parent_id)
      REFERENCES groups (id)
);

can we support this type comment? thanks!

Mime
View raw message