Closed lhshin closed 10 years ago
请检查一下SQL Server版本和JDBC驱动版本。本框架在SQL Server 2008是实际应用开发过的,生成的应该是bit类型定义。
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>sqljdbc</artifactId>
<version>4.0.2206.100</version>
</dependency>
作者,您好! 我在配置了sqlserver数据库之后,在启动过程中创建数据库表时,提示类似于:“java.sql.SQLException: 第 5 个列、参数或变量: 找不到数据类型 boolean”的错误,经查,发现生成的建表语句中,含有boolean类型的字段,下附上建表语句: CREATE TABLE t_auth_user_aud ( sid numeric(19, 0) NOT NULL, rev numeric(19, 0) NOT NULL, revtype smallint, acl_code varchar(20), acl_code_mod boolean, acl_type varchar(255), acl_type_mod boolean, created_by varchar(255), created_by_mod boolean, created_dt datetime, created_date_mod boolean, updated_by varchar(255), last_modified_by_mod boolean, updated_dt datetime, last_modified_date_mod boolean, version int, version_mod boolean, account_expire_time datetime, account_expire_time_mod boolean, account_non_locked char(1), account_non_locked_mod boolean, credentials_expire_time datetime, credentials_expire_time_mod boolean, email varchar(128), email_mod boolean, enabled char(1), enabled_mod boolean, last_logon_failure_time datetime, last_logon_failure_time_mod boolean, last_logon_host varchar(128), last_logon_host_mod boolean, last_logonip varchar(128), last_logonip_mod boolean, last_logon_time datetime, last_logon_time_mod boolean, logon_failure_times int, logon_failure_times_mod boolean, logon_times int, logon_times_mod boolean, nick varchar(64), nick_mod boolean, password varchar(128), password_mod boolean, random_code varchar(255), random_code_mod boolean, user_id varchar(30), signinid_mod boolean, signup_time datetime, signup_time_mod boolean, uid varchar(64), uid_mod boolean, user_pin varchar(50), user_pin_mod boolean, KEY (sid, rev) ) 望解答,谢谢!