sqlbuilder icon indicating copy to clipboard operation
sqlbuilder copied to clipboard

Remove dependency on Spring JDBC

Open jfurmankiewiczpros opened this issue 2 years ago • 1 comments

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.

jfurmankiewiczpros avatar Apr 25 '22 13:04 jfurmankiewiczpros

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.

jkrasnay avatar Apr 25 '22 14:04 jkrasnay