Bug: ClassNotFoundException: net.sf.jsqlparser.statement.select.Values #1801
Closed as not planned
Description
I have the following statement:
`@Repository
public interface VersionRepository extends JpaRepository<Version, String>{
@Query(value = "SELECT * FROM (SELECT v.version FROM VERSION_TABLE v ORDER BY RegExp_Replace(RegExp_Replace (v.version || '.', 'some regex'), 'another regex', '\\1') DESC) WHERE rownum =1", nativeQuery = true)
String getLatestDbVersionNative();
}
`
I get the error:
ClassNotFoundException: net.sf.jsqlparser.statement.select.Values
I found that spring boot 3.3.0 includes spring-boot-starter-data-jdbc 3.2.3 with jsqlparser 4.6
When I override that jsqlparser version with version 4.9 the error is fixed.
I looks like an upgrade is needed.
Activity