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

Scott Marlow smarlow at redhat.com
Mon Jan 27 14:54:49 EST 2014


On 01/27/2014 02:49 PM, Brian Stansberry wrote:
> On 1/27/14, 1:35 PM, Scott Marlow wrote:
>> On 01/27/2014 12:10 PM, Thomas Segismont wrote:
>>> I'm trying to decode the name to show the query statistics in RHQ. I
>>> wish there was an attribute in the node with the plain query string.
>>> That would be a nice add in Wildfly, but for RHQ to work with already
>>> released versions of AS7 and EAP6, there's no other way...
>>
>> Currently, the plain query string would cause an (Dynamic Model
>> Representation) exception to be thrown, as it could contain illegal
>> characters sequences.
>>
>
> 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_

>
>> _______________________________________________
>> wildfly-dev mailing list
>> wildfly-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/wildfly-dev
>>
>
>



More information about the wildfly-dev mailing list