-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using Sharding-Proxy to insert orrcurs error when using JDBC PreparedStatement in backend database PostgreSQL #3419
Comments
I will try to reproduce this exception first. |
Thank you, I just assign to you. |
Hi, here are current test results:
@haetao can you try the latest sharding-proxy |
Ok, I 'll try the latest Proxy later. Thank you! |
Another error occured!!! @RaigorJiang |
Yes, it's a different error, let's open a new issue. |
Yes! #3419 can be closed! |
Bug Report
For English only, other languages will not accept.
Before report a bug, make sure you have:
Please pay attention on issues you submitted, because we maybe need more details.
If no response more than 7 days and we cannot reproduce it on current information, we will close it.
Please answer these questions before submitting your issue. Thanks!
Which version of ShardingSphere did you use?
4.0.0-rc3
Which project did you use? Sharding-JDBC or Sharding-Proxy?
Sharding-Proxy
Expected behavior
Successfully inserted a record
Actual behavior
No this record in table
Reason analyze (If you can)
Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
config:
exception:
Example codes for reproduce this issue (such as a github link).
DataSource source = DataSourceFactory.newRawJDBCDataSource() .dbType(DatabaseType.POSTGRESQL) .dataSourceName("MyEncrypt") .host("localhost") .port(3307) .userName("root") .password("root") .create(); Connection connection = source.getConnection(); PreparedStatement statement = connection.prepareStatement("INSERT INTO t_encrypt(pwd,content) VALUES(?,?)"); statement.setString(1,"password"); statement.setString(2,"this is encrypt test"); statement.executeUpdate();
The text was updated successfully, but these errors were encountered: