Created
September 19, 2011 19:13
-
-
Save rodolfoliviero/1227309 to your computer and use it in GitHub Desktop.
JStryker disable Referential Integrity
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Coloca isso no @before. Criar uma classe que faz isso ai é só chamar no before de cada classe. | |
No After faz a mesma coisa. | |
Connection connection = ConnectionHelper.getConnection(); | |
disableHsqldbDatabaseReferentialIntegrity(connection); | |
cleanInsert("dataset.xml", connection); | |
connection.close(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Não precisa habilitar a integridade referencial depois do clean insert se você não vai mais usar a conexão.