dengliming opened a new pull request, #7246:
URL: https://github.com/apache/shenyu/pull/7246

   ## Summary
   - Replace Boolean SQL literals with numeric `1` in 39 existence/uniqueness 
probes across 30 mappers.
   - Add Oracle-specific statements using `ROWNUM = 1` instead of `LIMIT 1`; 
retain the default dialect's limit.
   - Preserve the existing `true`-when-found / `null`-when-absent contract 
rather than changing it to a count query.
   - Parse the real MyBatis mappings and execute all 39 probes under both 
H2/MySQL and H2/Oracle modes; verify duplicate name matches still return a 
single Boolean result.
   
   Fixes #6694
   
   ## Validation
   - `./mvnw -pl shenyu-admin -am -DskipTests=false -Dcheckstyle.skip=false 
-Dtest=ExistenceProbeDialectTest -DfailIfNoTests=false test` (Java 17): passed, 
including Checkstyle.
   - Oracle SQL was tested with H2's Oracle compatibility mode, not an actual 
Oracle server.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to