Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Talk:EclipseLink/Development/AdditionalCriteria"

Line 6: Line 6:
 
The callback seems quite complex, and uses reflection.  Some similar to our DescriptorCustomizer and SessionCustomizer may be simpler.  We could have a QueryCustomizer interface that takes a DatabaseQuery before execution and allows the user to customizes it.  Or the existing SessionEventListener could be used.
 
The callback seems quite complex, and uses reflection.  Some similar to our DescriptorCustomizer and SessionCustomizer may be simpler.  We could have a QueryCustomizer interface that takes a DatabaseQuery before execution and allows the user to customizes it.  Or the existing SessionEventListener could be used.
 
:[[User:James.sutherland.oracle.com|James.sutherland.oracle.com]] 19:19, 20 September 2010 (UTC)
 
:[[User:James.sutherland.oracle.com|James.sutherland.oracle.com]] 19:19, 20 September 2010 (UTC)
 +
 +
What is the context for the JPQL string, i.e. alias? Additional join expressions are normally table/field level.
 +
Will support be added to our JPQL support to allow referencing database fields/tables?
 +
:[[User:James.sutherland.oracle.com|James.sutherland.oracle.com]] 19:24, 20 September 2010 (UTC)

Revision as of 15:24, 20 September 2010

The AdditionalCriteria maps to EclipseLink's existing descriptor additionalJoinExpression. The AdditionalCriteriaGroup and Callback and naming and enabled options are new functionality. Some insight into their requirement, usage, design and implementation in the runtime would be useful.

James.sutherland.oracle.com 19:11, 20 September 2010 (UTC)

The callback seems quite complex, and uses reflection. Some similar to our DescriptorCustomizer and SessionCustomizer may be simpler. We could have a QueryCustomizer interface that takes a DatabaseQuery before execution and allows the user to customizes it. Or the existing SessionEventListener could be used.

James.sutherland.oracle.com 19:19, 20 September 2010 (UTC)

What is the context for the JPQL string, i.e. alias? Additional join expressions are normally table/field level. Will support be added to our JPQL support to allow referencing database fields/tables?

James.sutherland.oracle.com 19:24, 20 September 2010 (UTC)

Back to the top