Open jfurmankiewiczpros opened 2 years ago
You should be able to use the builders. Only the creators depend on Spring JDBC. Ultimately, creators are about building a prepared statement, so we could separate them from Spring but not from JDBC.
Please note that I'm not maintaining this library any more. You could just exclude the Spring JDBC dependency but I suggest instead you either fork your own version of the library or just copy the builders into your own project.
I wanted to use your library to create SQL statements for the Azure CosmosDB NoSQL, since it supports SQL API
https://docs.microsoft.com/en-us/azure/cosmos-db/sql/tutorial-query-sql-api
But it's not JDBC, so the dependnecy on Spring JDBC gets in the way. Please make it an optional extra module and make the SQL Builder completely standalone, if possible.
Thank you
P.S. Also, many apps don't use Spring, so even if using relational DB, it shouldn't be assumed.