aspose file tools*
The moose likes Groovy and the fly likes Groovy SQL Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Languages » Groovy
Bookmark "Groovy SQL Problem" Watch "Groovy SQL Problem" New topic
Author

Groovy SQL Problem

Sabarish Venkat
Ranch Hand

Joined: Jan 18, 2012
Posts: 136

Thank you gregg i will try it out and one more problem am facing am using a query like this

but am getting error alone how to resolve it. how i can use the where clause without changing the sql.eachRow statement
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

You'll have to show the complete error message. But typically, that should be written like this:



Another note, the thread I split this from was about Grails. If you're doing this in a Grails app, you're making it too hard. You should do:



GenRocket - Experts at Building Test Data
Sabarish Venkat
Ranch Hand

Joined: Jan 18, 2012
Posts: 136

Thank you so much gregg
Ashish Agre
Ranch Hand

Joined: Jan 22, 2011
Posts: 73


Another note, the thread I split this from was about Grails. If you're doing this in a Grails app, you're making it too hard. You should do:



| B.E IT | SCJP 6.0 98 % |
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Groovy SQL Problem