mardi 7 avril 2015

Is it possible to have the database ids loaded from a fixture start at a certain number?

I'm working with the Play Framework 2.2.1, for Java. I would like to have my fixtures, for my unit tests, have all the tables start their id counting at over 200.


The reason being this: Compare non-primitive Long values 127 and 128


Googling it gives a bunch of "best practice" articles, non of which include this option.


So I'm wondering if it's possible.


Aucun commentaire:

Enregistrer un commentaire