uroborosql
uroborosql copied to clipboard
Developer-oriented and SQL centric database access library
Added Event APIs. * Includes consumers to be called when the transaction ends(#230) * Removed SqlFilter and remade its implements into each event subscriber. * Merged auto parameter binder APIs...
For example, I want to be able to register `Consumer` when initializing SqlConfig as below. This is because the ability to hook commit / rollback allows you to insert common...
Currently it is called via `SF.`, but it is changed to a notation that is easier to write, for example` $ `. (Braking change) ex) ``` SF.isEmpty ()-> $ isEmpty...
- Add AbstractSqlFluent#paramIfNotEmpty method. - Add AbstractExtractionCondition#ifNotEmpty method. - StringUtils rename ObjectUtils - ObjectUtils#isEmpty/isNotEmpty is now available for types other than String
- Remove AbstractAgent (merge into SqlAgentImpl) - Refactoring LocalTransactionContext - Add event api - remove AutoParameterBinder, SqlFilter (integrated into event api) Now work in progress.
I would like to be able to get information on uroborosql SQL issuance in **micrometer.** https://micrometer.io/
現在uroborosqlで提供されているINメソッドは以下のようなAPIを提供している。 ```java agent().query(Product.class) .in("productId", List.of(1, 2)) .collect(); ``` しかし、このAPIでは、複数カラムに対するIN句には対応できていないため、新たに複数カラムのIN句に対応するAPIを追加したい。 発行するSQLは以下のようになる ```sql select (productテーブルのカラム) from product t where (t.product_id, t.product_name) in ((1, '商品1'), (2, '商品2')) ``` これに対応するAPIは ```java var inParamBeans =...
Implements Micrometer integration to collect SQL execution metrics (execution counts, duration, row counts) as requested in issue #320. ## Changes Made ### Planning and Design - **Integration Plan**: Created comprehensive...
**Status: AWAITING PLAN REVIEW** ⏳ This PR currently contains only the modification plan document for adding multi-column IN clause support. Implementation will proceed after plan review and approval per the...