Play Framework: Error getting sequence nextval using H2 in-memory database
- by alexhanschke
As the title suggests, I get an error running Play 2.0.1 Tests using a FakeApplication w/ H2 in memory.
I set up a basic unit test:
public class ModelTest {
@Test
public void checkThatIndustriesExist() {
running(fakeApplication(inMemoryDatabase()), new Runnable() {
public void run() {
Industry industry…