whg903 opened a new issue #6839:
URL: https://github.com/apache/shardingsphere/issues/6839
with shardingspere 4.1.0 or 4.1.1,
spring.datasource.url=jdbc:h2:mem:db;MODE=MySQL;DB_CLOSE_DELAY=-1
the error is :
Caused by: org.h2.jdbc.JdbcSQLSyntaxErrorException: Table "t_order" not
found; SQL statement:
SELECT * FROM "t_order" WHERE 1 != 1; [42102-199]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:451)
... ...
at
org.apache.shardingsphere.sql.parser.binder.metadata.column.ColumnMetaDataLoader.load(ColumnMetaDataLoader.java:75)
at
org.apache.shardingsphere.sql.parser.binder.metadata.table.TableMetaDataLoader.load(TableMetaDataLoader.java:46)
at
org.apache.shardingsphere.core.metadata.ShardingMetaDataLoader.load(ShardingMetaDataLoader.java:83)
at
org.apache.shardingsphere.core.metadata.ShardingMetaDataLoader.loadShardingSchemaMetaData(ShardingMetaDataLoader.java:134)
at
org.apache.shardingsphere.core.metadata.ShardingMetaDataLoader.load(ShardingMetaDataLoader.java:125)
at
org.apache.shardingsphere.shardingjdbc.jdbc.core.context.ShardingRuntimeContext.loadSchemaMetaData(ShardingRuntimeContext.java:65)
in H2 MySQL compatible mode, should use ` for table or field name
----------------------------------------------------------------
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]