Skip to content
Discussion options

You must be logged in to vote

@Gonzalo-Avila @brianstremel pronto vamos a ver donde abrir y cerrar transacciones cuando tenemos operaciones web.

Por otro lado en los tests no deberían hacer commit() porque eso haría que tenga efecto, lo que pueden hacer es un entityManager().flush() creo que era el mensaje que hace que mande los inserts/updates a la base si necesitan forzarlos en el test pero sin commitear la transaccion.

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by gastonprieto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #72 on April 10, 2021 11:16.