mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-17 08:35:13 +00:00
better table
git-svn-id: https://svn.jboss.org/repos/hibernate/trunk/Hibernate3/doc@7421 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
d10c7a16aa
commit
2c33c78056
@ -148,64 +148,61 @@ List loggedCats = sess.createSQLQuery(sql)
|
|||||||
<row>
|
<row>
|
||||||
<entry>Description</entry>
|
<entry>Description</entry>
|
||||||
<entry>Syntax</entry>
|
<entry>Syntax</entry>
|
||||||
<entry>Result</entry>
|
<entry>Example</entry>
|
||||||
</row>
|
</row>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<row>
|
<row>
|
||||||
<entry>A simple property</entry>
|
<entry>A simple property</entry>
|
||||||
<entry><literal>A_NAME as {item.name}</literal></entry>
|
<entry><literal>{[aliasname].[propertyname]</literal></entry>
|
||||||
<entry>ANAME as name0_0_</entry>
|
<entry><literal>A_NAME as {item.name}</literal></entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>A multi-column property</entry>
|
<entry>A composite property</entry>
|
||||||
|
<entry><literal>{[aliasname].[componentname].[propertyname]}</literal></entry>
|
||||||
<entry><literal>CURRENCY as {item.amount.currency}, VALUE as {item.amount.value}</literal></entry>
|
<entry><literal>CURRENCY as {item.amount.currency}, VALUE as {item.amount.value}</literal></entry>
|
||||||
<entry>CURRENCY as curr0_0_, VALUE as curr1_0_</entry>
|
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>Discriminator of an entity</entry>
|
<entry>Discriminator of an entity</entry>
|
||||||
<entry><literal>DISC as {item.class}</entry>
|
<entry><literal>{[aliasname].class}</literal></entry>
|
||||||
<entry></entry>
|
<entry><literal>DISC as {item.class}</literal></entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>All properties of an entity</entry>
|
<entry>All properties of an entity</entry>
|
||||||
|
<entry><literal>{[aliasname].*}</literal></entry>
|
||||||
<entry><literal>{item.*}</literal></entry>
|
<entry><literal>{item.*}</literal></entry>
|
||||||
<entry>ANAME as name0_0_, CURRENCY as curr0_0_, VALUE as curr1_0_</entry>
|
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>A collection key</entry>
|
<entry>A collection key</entry>
|
||||||
<entry><literal>{coll.key}</literal></entry>
|
<entry><literal>{[aliasname].key}</literal></entry>
|
||||||
<entry></entry>
|
<entry><literal>ORGID as {coll.key}</literal></entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>The id of an collection</entry>
|
<entry>The id of an collection</entry>
|
||||||
<entry><literal>{coll.id}</literal></entry>
|
<entry><literal>{[aliasname].id}</literal></entry>
|
||||||
<entry>
|
<entry><literal>EMPID as {coll.id}</literal></entry>
|
||||||
</entry>
|
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>The element of an collection</entry>
|
<entry>The element of an collection</entry>
|
||||||
<entry><literal>{coll.element}</literal></entry>
|
<entry><literal>{[aliasname].element}</literal></entry>
|
||||||
|
<entry><literal>XID as {coll.element}</literal></entry>
|
||||||
<entry></entry>
|
<entry></entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>Property of the element in the collection</entry>
|
<entry>Property of the element in the collection</entry>
|
||||||
<entry><literal>{coll.element.name}</literal></entry>
|
<entry><literal>{[aliasname].element.[propertyname]}</literal></entry>
|
||||||
<entry>
|
<entry><literal>NAME as {coll.element.name}</literal></entry>
|
||||||
</entry>
|
|
||||||
</row>
|
</row>
|
||||||
|
|
||||||
<row>
|
<row>
|
||||||
<entry>All properties of the element in the collection</entry>
|
<entry>All properties of the element in the collection</entry>
|
||||||
|
<entry><literal>{[aliasname].element.*}</literal></entry>
|
||||||
<entry><literal>{coll.element.*}</literal></entry>
|
<entry><literal>{coll.element.*}</literal></entry>
|
||||||
<entry>
|
|
||||||
</entry>
|
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>All properties of the the collection</entry>
|
<entry>All properties of the the collection</entry>
|
||||||
|
<entry><literal>{[aliasname].*}</literal></entry>
|
||||||
<entry><literal>{coll.*}</literal></entry>
|
<entry><literal>{coll.*}</literal></entry>
|
||||||
<entry>
|
|
||||||
</entry>
|
|
||||||
</row>
|
</row>
|
||||||
</tbody>
|
</tbody>
|
||||||
</tgroup>
|
</tgroup>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user