Joined: Wed May 21, 2014 2:46 am Posts: 2
|
Hi i am facing an error while calling a stored procedure through a named query. Using hibernate 3.3.2 version of jar.
I am running sql query through the named query inside named query i am calling a stored procedure. But i am getting an error TICKET1_58_0 an invalid column. But in the generated query from my store proc this column is not there.
When i enable the hibernate logs in log4j properties i came to know that hibernate is generating a select query using my BO object at the server startup. The same query it is being used at run time. So can anyone please help me how to restrict the query generation at the server startup. Even disabled caching and enabled lazy loading for the mapping file. Still the issue persists.
Please help me someone who has already resolved this kind of error.
Thanks in Advance, Raghunath.
|
|