huosenyuan commented on issue #9252:
URL: https://github.com/apache/shardingsphere/issues/9252#issuecomment-772331445
use ShardingSphere-JDBC;
springboot 2.2.2.RELEASE
~~~
<dependency>
<groupId>org.apache.shardingsphere</groupId>
<artifactId>shardingsphere-jdbc-core</artifactId>
<version>5.0.0-alpha</version>
</dependency>
~~~
~~~
Hibernate: create table t_job (id bigint not null, birthday bigint, status
boolean not null, primary key (id))
line 1:64 no viable alternative at input 'boolean'
~~~
~~~
Hibernate: create table t_job (id bigint not null, birthday bigint, status
integer not null, primary key (id))
16:31:31.902 INFO 34448 --- [ main] ShardingSphere-SQL
: Logic SQL: create table t_job (id bigint not null, birthday
bigint, status integer not null, primary key (id))
16:31:31.902 INFO 34448 --- [ main] ShardingSphere-SQL
: SQLStatement: SQL92CreateTableStatement()
16:31:31.903 INFO 34448 --- [ main] ShardingSphere-SQL
: Actual SQL: ds0 ::: create table t_job0 (id bigint not null,
birthday bigint, status integer not null, primary key (id))
16:31:31.903 INFO 34448 --- [ main] ShardingSphere-SQL
: Actual SQL: ds0 ::: create table t_job1 (id bigint not null,
birthday bigint, status integer not null, primary key (id))
16:31:31.905 DEBUG 34448 --- [ main] org.hibernate.SQL
: create index index_job_birthday on t_job (birthday)
Hibernate: create index index_job_birthday on t_job (birthday)
line 1:7 no viable alternative at input 'createindex'
~~~
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]