posted 20 years ago
How would I code a query involving a union all in the *hbm.xml file?
For instance:
select error_cd, sub_code, message, component
from error_messages
where error_cd < 0
union all
select errno, 0, errstr, user
from syslog_msg
where errno > 0