{#include main} {#style} {/style} {#title}Named Queries{/title} {#body} {#if info:persistence.persistenceUnits.isEmpty}

No persistence units were found.

{#else} {#for pu in info:persistence.persistenceUnits}

#### Persistence Unit {pu}

{#if info:persistence.getAllNamedQueries(pu).isEmpty}

No named queries were found.

{#else}

# | Name | Query | Lock Mode | Cacheable | Query Type
--- | --- | --- | --- | --- | ---
{#for query in info:persistence.getAllNamedQueries(pu)}
{count}. | {query.name} | {query.query} | {query.lockMode} | {query.cacheable} | {query.type}
{/for}

{/if} {/for} {/if} {/body} {/include}