[wildfly-dev] Decoding query name attribute in deployment/subsystem/jpa/hibernate-persistence-unit/query-cache nodes

Thomas Segismont tsegismo at redhat.com
Mon Jan 27 15:26:00 EST 2014


Le 27/01/2014 21:16, Scott Marlow a écrit :
> On 01/27/2014 03:01 PM, Thomas Segismont wrote:
>> Le 27/01/2014 20:54, Scott Marlow a écrit :
>>>> In an attribute?
>>>>>
>>>>> PathAddress has rules, but an attribute of ModelType.STRING should be
>>>>> able to store arbitrary text.
>>> In the PathAddress.  for example:
>>>
>>> cd
>>> SELECT_space_m_space_FROM_space_Message_space_m_space_where_space_m.reliable_space__equal__space__quote_y_quote_
>>>
>>>
>>
>> The JIRA I want to file is actually about adding an attribute.
>>
>> WILDFLY or JIPI?
>
> Thomas,
>
> Do you want to add another attribute within the
> SELECT_space_m_space_FROM_space_Message_space_m_space_where_space_m.reliable_space__equal__space__quote_y_quote_?
>
>
> Or at a higher level?
>
> Currently, for this test application that I deployed, the path to the
> query cache entries is:
>
> /deployment=jmxp.ear.ear/subdeployment=jmxp.ejb.jar/subsystem=jpa/hibernate-persistence-unit=jmxp.ear.ear/jmxp.ejb.jar#fraudPU/query-cache
> which contains two PathAddress entries:
>
> SELECT_space_m_space_FROM_space_Message_space_m
> SELECT_space_m_space_FROM_space_Message_space_m_space_where_space_m.reliable_space__equal__space__quote_y_quote_
>
>
> Scott
>
>> _______________________________________________
>> wildfly-dev mailing list
>> wildfly-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/wildfly-dev
>>
>

Yes, a new attribute in "query-cache" nodes, named "query-string", 
sibling of "query-cache-hit-count", "query-cache-miss-count", 
"query-execution-average-time" ... etc




More information about the wildfly-dev mailing list