You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/03/24 12:20:05 UTC
[GitHub] [shardingsphere] dawson-ao opened a new issue #16343: Show error message: Route table null does not exist, available actual table
dawson-ao opened a new issue #16343:
URL: https://github.com/apache/shardingsphere/issues/16343
## Bug Report
### Which version of ShardingSphere did you use?
5.0.0
### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
ShardingSphere-JDBC
### Expected behavior
insert data to databases and success.
### Actual behavior
show message:
Route table null does not exist, available actual table
### Reason analyze (If you can)
### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
### Error updating database. Cause: org.apache.shardingsphere.infra.exception.ShardingSphereException: Route table null does not exist, available actual table: [demo1]
### The error may involve com.xxxxtech.dao.UserDao.insert-Inline
### The error occurred while setting parameters
### SQL: INSERT INTO user ( id, `name`, age ) VALUES ( ?, ?, ? )
@Service
public class UserServiceImpl extends ServiceImpl<UserDao, User> implements UserService {
// @Autowired
// private UserMapper userMapper;
@Override
public int saveUser(User user) {
user.setId(System.currentTimeMillis());
insert(user);
return 1;
}
### Example codes for reproduce this issue (such as a github link).
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] zjcnb commented on issue #16343: Show error message: Route table null does not exist, available actual table
Posted by GitBox <gi...@apache.org>.
zjcnb commented on issue #16343:
URL: https://github.com/apache/shardingsphere/issues/16343#issuecomment-1077690534
@dawson-ao Hi, Please provide your configuration.
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org