The GitHub Actions job "CI - Groovy Joint Validation Build" on 
grails-core.git/fix/data-service-connection-routing has succeeded.
Run started by GitHub user jamesfredley (triggered by jamesfredley).

Head commit for run:
7cfae2f071592c2bad490310846ef347d5c8090b / James Fredley 
<[email protected]>
fix: use abstractMethodNode for findConnectionId to resolve class-level 
@Transactional annotations

findConnectionId resolves @Transactional(connection) by falling back to
methodNode.getDeclaringClass(). The abstractMethodNode declares on the
original interface/abstract class which carries the annotation, while
newMethodNode declares on the generated impl class which does not.

Using newMethodNode caused findConnectionId to return null, silently
routing all CRUD operations to the default datasource instead of the
specified connection.

Assisted-by: Claude Code <[email protected]>

Report URL: https://github.com/apache/grails-core/actions/runs/22193530750

With regards,
GitHub Actions via GitBox

Reply via email to