1. Hibernate schema parameter doesn't work in @SequenceGenerator annotation stackoverflow.comI have the following code:
|
2. Schema name as query parameter? forum.hibernate.orgI am using Hiberate 3.0. I have a hibernate mapping file with an SQL query along the lines of: SELECT * from mySchema.myTable For out project we need to have the schema name as a variable, so I tried: SELECT * from :schemaName.myTable and in the Jave code calling: query.setString("schemaName", "myTable"); but in doing so I get the Exception: Caused by: ... |
3. filter using schema name as parameter forum.hibernate.org |