datasource-proxy icon indicating copy to clipboard operation
datasource-proxy copied to clipboard

Provide listener framework for JDBC interactions and query executions via proxy.

Results 10 datasource-proxy issues
Sort by recently updated
recently updated
newest added

I'd like to test the number of returned rows from some JPA select queries. Would it be possible to add that to net.ttddyy.dsproxy.QueryCount?

Bumps [spring-webmvc](https://github.com/spring-projects/spring-framework) from 2.5.6 to 5.3.18. Release notes Sourced from spring-webmvc's releases. v5.3.18 :star: New Features Restrict access to property paths on Class references #28261 Introduce cancel(boolean mayInterruptIfRunning) in ScheduledTask...

dependencies

Recursive CTE are categoried as `QueryType.OTHER` instead of `QueryType.SELECT` by `QueryUtils`. Reproducer ```java class QueryUtilsTests { @Test void getQueryType() { String sql = "WITH RECURSIVE t(n, level_num) AS (SELECT next...

Hi, is there any possibility to use the QueryExecutionListener (or new listener type) to be able to execute a trivial sql statement before every actual sql statement. for my use...

Hi guys! I'm currently studying to develop a mechanism that, given a query, it'll be able to change the query (prepared statement) and some parameters values before it hits the...

The methods in `QueryExecutionListener` don't allow to throw `SQLException` right now. Unfortunately almost all methods in the `Statement` (as part of `ExecutionInfo`) declare to throw `SQLException` when being invoked. From...

Support Quarkus, https://quarkus.io/ Ref. [Quarkus Datasource](https://quarkus.io/guides/datasource#other-databases)

Bumps [spring-webmvc](https://github.com/spring-projects/spring-framework) from 2.5.6 to 5.2.20.RELEASE. Release notes Sourced from spring-webmvc's releases. v5.2.20.RELEASE :star: New Features Restrict access to property paths on Class references #28262 Improve diagnostics in SpEL for...

dependencies

datasource-proxy version: 1.10. If underlying data source throw some SQL exception in getConnection() method, datasource-proxy mask that exception and crashes with NullPointerException with stack like this: ``` java.lang.NullPointerException: Cannot invoke...

Hibernate recently changed the way it fetches `insert` generated keys for PostgresSQL. Instead of relying on `Statement#getGeneratedKeys()` and `Statement#RETURN_GENERATED_KEYS`, it uses `Statement#getResultSet` [this way](https://github.com/hibernate/hibernate-orm/blob/2c6b91d84f6dd5f56cae4f156215e47e89c9a2db/hibernate-core/src/main/java/org/hibernate/engine/jdbc/internal/ResultSetReturnImpl.java#L167) : ```java if ( !statement.execute( sql...