spring-attic / spring-cloud-gcp

Integration for Google Cloud Platform APIs with Spring
Apache License 2.0
704 stars 693 forks source link

Spring Boot the property spring.jpa.show-sql doesn't work with Datastore #2679

Open beunick opened 3 years ago

beunick commented 3 years ago

I want to view the queries that I generated. Which parameter like spring.jpa.show-sql can I use to see all my queries in the logs ? Please let me know.

Thanks

meltsufin commented 3 years ago

Since Spring Data Datastore is not a JPA implementation, spring.jpa.show-sql won't work. I'm not sure if there a way to log GQL queries in the Datastore client library that we build on. Maybe, ask here.