linghengqian commented on issue #29386: URL: https://github.com/apache/shardingsphere/issues/29386#issuecomment-1869076572
> > * Is this the error log you get when writing unit tests in the code generated inside the target folder? The current example module is not easy to debug directly. > > * It seems that you have added sensitive information. Is it inconvenient for you to rewrite the relevant information as h2database and share it as a separate project as git on github.com? > > @linghengqian Thanks for the reply Since you mentioned that it is not easy to debug the code which was automaticlly generated, can you provide the way how we can get started with Shardingsphere functionality? currently what we need is the solution of read-write split + sharding of table - To debug specific code, you only need to modify the database connection information of the generated yaml, and then copy the generated sub-project code to another place to try debugging. All SQL executed by example assumes that the connection is MySQL, so you can use H2database in MySQL mode directly. - The unit tests at https://github.com/apache/shardingsphere/tree/master/test/native are basically modified from the example module. You can try it for reference. - It's hard for me to confirm what's wrong with the current issue without involving a separate project. Can you hide the database information and upload the project files to github.com as a separate git? This way I can debug via codespaces. -- 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: notifications-unsubscr...@shardingsphere.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org