suman wrote:
The database that I am connecting to has multiple schemas ?
How do you think that anyone except you will be able to answer that, especially as you don't even mention which database you're using?
Quote:
Is there a way to specify the schema name (do I even need to) ?
Both on the hibernate-mapping and class level, yes. see
http://www.hibernate.org/hib_docs/reference/html/or-mapping.html#or-mapping-s1-2Quote:
Also, pls let me know how I can see the SQL statements that Hibernate generates (I have set show_sql=true in the props file). Should it be printing to the console ? If so, I dont see any SQL in the console...
Yes, it should be printing to the console. Depending on your app server, if any, console output may be redirected to some log file.