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 2020/11/23 03:59:18 UTC

[GitHub] [shardingsphere] elliotann commented on issue #8297: In yaml mode, is there a configuration file loaded according from the classpath?

elliotann commented on issue #8297:
URL: https://github.com/apache/shardingsphere/issues/8297#issuecomment-731914280


   > You can use `public static DataSource createDataSource(final byte[] yamlBytes)` to load yaml from classpath and convert the content to yaml bytes.
   
   Thanks very much.I have override this method in the project from classpath;
   public static DataSource createDataSource(final String classpathYamlFile) throws SQLException, IOException


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