hiberate named query variable schema name
Posted
by Sandeep Jindal
on Stack Overflow
See other posts from Stack Overflow
or by Sandeep Jindal
Published on 2010-04-30T11:31:42Z
Indexed on
2010/04/30
11:37 UTC
Read the original article
Hit count: 333
hibernate
|named-query
Hi,
Other than default schema, for some SQL queries I need to access a particular schema. The issue is that the name of that particular schema is different for different environments.
After goggling I found that using this link I am able to specify the schema name in variable. If that’s true that I have following questions:
- Will that would for SQL queries in the named query?
- How to set the value for the variable names?
Thanks in advance.
© Stack Overflow or respective owner