Thanks Andrei! These are valuable hints when we implement this down the
road!
I am also interested in how you hook NetBeans specific j2ee meta model
to standard JPA validation framework (non-NetBeans?).
Thanks,
-Nam
Andrei Badea wrote:
> Nam Nguyen wrote:
>> I believe NetBeans JPA validation does have the capability of showing
>> JPA error/warning stripe quite instantly. I suspect that there are
>> some JPA validation or model hooks that NB persistence support
>> implement. Maybe Andrei (cc'ed) could shed some light on the JPA
>> validation mechanism.
>
> The JPA verification hooks into the Java infrastructure using an
> EditorAwareJavaSourceTaskFactory. It computes the hints whenever
> called by the Java infrastructure (which happens e.g. when the current
> file is reparsed) and uses HintsController to make them visible.
>
> See JavaProblemFinderFactory and JavaProblemFinder in
> j2ee/persistence/verification.
>
> Andrei
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: dev-help_at_jersey.dev.java.net
>