Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

14.17. Components

Components might be used in just about every way that simple value types can be used in HQL queries. They can appear in the select clause:
select p.name from from Person p
select p.name.first from from Person p
where the Person's name property is a component. Components can also be used in the where clause:
from from Person p where p.name = :name
from from Person p where p.name.first = :firstName
Components can also be used in the order by clause:
from from Person p order by p.name
from from Person p order by p.name.first
Another common use of components is in Section 14.18, “Row value constructor syntax” row value constructors.

 
 
  Published under the terms of the Open Publication License Design by Interspire