Skip to content

Regarding the mechanism of QueryBean #3714

@PassXml

Description

@PassXml

Regarding the mechanism of QueryBean: QueryBean is generated at compile time, and then the _xxx() method is injected into the class. In practice, using xxx.eq(abc) is equivalent to _xxx().eq(abc). Is this
understanding correct?

We are currently using PF4J as the plugin execution framework. When I perform business queries in a sub-plugin, it throws an NPE — the xxx field in the QueryBean becomes null.

However, the same QueryBean works fine in the main process.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions