mdlane
2008-07-24 13:59:24 UTC
I'm new to Grails and relatively inexperienced with Java development, so I'm
looking for some hopefully quick advice:
I'm trying to find a way to execute SQL statements within Grails through
Hibernate.
I've already looked at groovy.sql.Sql -- I don't want to need to manually
open a new JDBC instance each time I want to do this. I'd like to try and
go through Hibernate since all of the database information is already set up
and ready to go.
I tried using SQLQuery but I got unusual errors that I couldn't resolve,
probably due to the fact that the way Grails is set up is not like your
average Java app.
Anyone have any specific thoughts/advice? Would be much appreciated, I've
been banging my head on this for days.
looking for some hopefully quick advice:
I'm trying to find a way to execute SQL statements within Grails through
Hibernate.
I've already looked at groovy.sql.Sql -- I don't want to need to manually
open a new JDBC instance each time I want to do this. I'd like to try and
go through Hibernate since all of the database information is already set up
and ready to go.
I tried using SQLQuery but I got unusual errors that I couldn't resolve,
probably due to the fact that the way Grails is set up is not like your
average Java app.
Anyone have any specific thoughts/advice? Would be much appreciated, I've
been banging my head on this for days.
--
View this message in context: http://www.nabble.com/Grails%2C-Hibernate%2C-SQL-Queries-tp18632506p18632506.html
Sent from the grails - user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
View this message in context: http://www.nabble.com/Grails%2C-Hibernate%2C-SQL-Queries-tp18632506p18632506.html
Sent from the grails - user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email