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 2021/01/25 10:13:34 UTC

[GitHub] [shardingsphere] hebing0625 edited a comment on issue #3954: Is sharding-jdbc supported postgresql array?Can I customize and implents it?

hebing0625 edited a comment on issue #3954:
URL: https://github.com/apache/shardingsphere/issues/3954#issuecomment-766698233


   hi,  
   
   There still has a issue when I try to deal with connect:
   
   `Connection conn = shardingDataSource.getConnection();`
   `conn.createArrayOf("int8", new Long[]{1L, 2L, 3L});`
   
   It will throw SQLFeatureNotSupportedException. 
   
   I trace the codes and find such snippets in SQLFeatureNotSupportedException.java:
   
   `   @Override
   `   public final Array createArrayOf(final String typeName, final Object[] elements) throws SQLException {
   `        throw new SQLFeatureNotSupportedException("createArrayOf");
   `   }
   
   Can you help me how to solve this? @tuohai666 


----------------------------------------------------------------
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:
users@infra.apache.org