-
Notifications
You must be signed in to change notification settings - Fork 9
Description
I have a couple of domain classes annotated with SequenceEntity.
When I run integration test in 'interactive mode' aka. 'grails shell', every minute this line is written to StdOut:
ERROR sequence.DefaultSequenceGenerator: Failed to flush sequences to database! java.lang.IllegalStateException: Method on class [grails.plugins.sequence.SequenceDefinition] was used outside of a Grails application. If running in the context of a test using the mocking API or bootstrap Grails correctly. at grails.plugins.sequence.DefaultSequenceGenerator.flush(DefaultSequenceGenerator.groovy:185) at grails.plugins.sequence.DefaultSequenceGenerator$_initPersister_closure1.doCall(DefaultSequenceGenerator.groovy:58) at java.lang.Thread.run(Thread.java:745)
Any thoughts?
Environment:
OS: OSX 10.10.2
Java version: 1.7.0_55
Grails version: 2.5.0
/brian