dalaocu commented on issue #2041: sharding databases error: 
java.lang.NullPointerException
URL: 
https://github.com/apache/incubator-shardingsphere/issues/2041#issuecomment-473753282
 
 
   Yes, of course.
   
   I found that 
sharding.jdbc.config.sharding.tables.table_name.actual-data-nodes  of each 
single table must be configured.  I asked you in gitter for a global way to 
configurate, and you give me the config-yaml link.
   
   According to the config-yaml, I added the config of defaultDataSourceName to 
my configurations, then the exception disappeared.  
   
   I suggest that you could supplement your springboot configuration page to 
make it more clear. Some coders will not read all your versions of 
configuration docs. Thanks a lot!

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


With regards,
Apache Git Services

Reply via email to