Beginner |
 |
Joined: Tue Aug 12, 2008 9:06 am Posts: 22 Location: Fort Washington, PA
|
I think what I could do... maybe give me your feedback on this.
We need to run queries directly on the database for various tasks.
What if I created a function in my hibernate class that excepts a sql query as a string.
I can then create a separate page that only has a textbox and a submit button. I can place whatever sql code I need to execute in the textbox, click submit, and have it call the hibernate function with the passed sql code. That way, if its done inside the hibernate entity, the listener will pick it up.
Thoughts?
|
|