omkar-shitole commented on issue #34456: URL: https://github.com/apache/shardingsphere/issues/34456#issuecomment-2678144195
@terrymanu @rsingh0015 Hello, I investigated this particular issue. I discovered that, here `init.sql` is creating tables inside a particular schema 'schema_poc'. and while reading the table 'table_one' schema name was missing. Which was leading to the following error: TableNotFoundException: `Caused by: org.apache.shardingsphere.infra.exception.kernel.metadata.TableNotFoundException: Table or view 'table_one' does not exist.` The solution is to include the 'schema' property in the `@Table` annotation in Entity class.(here in [repo](https://github.com/rsingh0015/shardingspherepoc), TableOne.Java) `@Table(schema = "schema_poc", name = "table_one")` Note: In addition to this, make sure if Postgres server is running on some port or any default port on the local system. configure the host port in `docker-compose.yml` other than that of the local system. -- 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