iamhucong commented on issue #22544:
URL: 
https://github.com/apache/shardingsphere/issues/22544#issuecomment-1473038766

   > > @strongduanmu @TeslaCN Hi, this error look like due to 
PostgreSQLDialectExceptionMapper has a dependency on the PostgreSQL package. 
Whether it makes sense to replace PSQLException with SQLException?
   > 
   > ShardingSphere-Proxy PostgreSQL frontend requires severity, SQLState, 
message and other optional fields in PSQLException. Is it possible to replace 
PSQLException with SQLException?
   
   @TeslaCN Hi, How about catch ServiceConfigurationError? like this commit.
   Or there is another way, to deal with it like spring @ConditionalOnClass.
   Please continue to guide me, thank you.


-- 
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