Grails integration testing - native SQL along-side GORM issues

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Grails integration testing - native SQL along-side GORM issues

Grails Dev Discuss mailing list
Please see below link for details. http://stackoverflow.com/q/37194710/3486254

The high level description is below. Source code can be found on the stack overflow post. I have been working on this for days now. Any help would be much appreciated!


Goal

When running integration tests, I would like to populate the database with preset data using GORM.

Problem

For certain domains, native SQL queries can't see data inserted by GORM and vice versa (GORM queries can't see data inserted by native SQL). Within a single run, one domain will have this issue and another won't.


--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/a42cffaf-6482-4b40-888b-fcf7fa70ed1b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.