yuyee-qi commented on issue #25073:
URL: 
https://github.com/apache/shardingsphere/issues/25073#issuecomment-1501165537

   I use the latest version 5.3.2 of ShardingSphere-JDBC.
   
   Before using it, I can start my SpringBoot project repeatedly, but now, I 
just can do once. When I start my project for the second time, it will fail 
because of repeated creation of liquibase's tables.
   
   From the debug call stack, there is only a difference when using it before 
and after. The JdbcConnection cannot obtain catalog after using it. 
   
   So I think there is something wrong with this code in calss 
**org.apache.shardingsphere.driver.jdbc.adapter.AbstractConnectionAdapter**, it 
doesnot store and return the catalog correctly.
   
       @Override
       public final String getCatalog() {
           return null;
       }
       @Override
       public final void setCatalog(final String catalog) {
       }
   
   I wonder why it returns null directly instead of saving is as a field in the 
abstract class.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to