Hey Team!
Thank you for introducing the UPSERT support, it is really helpful @christophstrobl. However, we're encountering a problem.
At Axelix (Spring Boot debugging and monitoring solution) we're writing our own dialect for SQLite, since this is the default database and Spring Data JDBC does not support it.
And we want to benefit from UPSERT too. We are not asking core Spring Data team to introduce support fro SQLite. Instead, we're asking to make the UPSERT functionality configurable for the end-users.
What I'm talking about is that now the code very strictly assumes via a switch check what dialects can be in the system. And Spring Data JDBC is explicitly designed to be extensible - users can implement JdbcDialect for example to adapt Spring Data JDBC for their own database.
But right now, if we want to introduce support for UPSERT for SQLite we just cannot do that - Spring Data in a hardcoded fashion assumes only certain databases to be able to UPSERT and not the others.
I have decided to reach out to you ASAP, since it is not yet released in GA. I can help with this if you do not mind, especially considering that we need this extensibility. 😄
Have a nice day!
CC: @mp911de
Hey Team!
Thank you for introducing the
UPSERTsupport, it is really helpful @christophstrobl. However, we're encountering a problem.At Axelix (Spring Boot debugging and monitoring solution) we're writing our own dialect for SQLite, since this is the default database and Spring Data JDBC does not support it.
And we want to benefit from
UPSERTtoo. We are not asking core Spring Data team to introduce support fro SQLite. Instead, we're asking to make theUPSERTfunctionality configurable for the end-users.What I'm talking about is that now the code very strictly assumes via a
switchcheck what dialects can be in the system. And Spring Data JDBC is explicitly designed to be extensible - users can implementJdbcDialectfor example to adapt Spring Data JDBC for their own database.But right now, if we want to introduce support for
UPSERTfor SQLite we just cannot do that - Spring Data in a hardcoded fashion assumes only certain databases to be able to UPSERT and not the others.I have decided to reach out to you ASAP, since it is not yet released in GA. I can help with this if you do not mind, especially considering that we need this extensibility. 😄
Have a nice day!
CC: @mp911de