I did some research and found that Hibernate can generate the tables 
through the "spring.jpa.hibernate.ddl-auto" property.

I enabled the "spring.jpa.show-sql" property and verified that it performs 
"inserts" as well.

Em quarta-feira, 19 de abril de 2023 às 10:18:47 UTC-3, ELIELDO MARTINS 
escreveu:

>
> Hello !
> I'm writing integration tests for an Oracle project. 
>
> Doubt: I have the normal application.properties configuration working ok. 
> And in tests/resources/application.properties I have the H2 configuration. 
>
> But, the integration tests pass normally even without me 
> creating/persisting the test data!? I understand that findaAll() and 
> findById() shouldn't work... 
>
> Can anyone explain why this is working?
>

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/h2-database/7f68104c-515a-4038-8b80-3d59d52f09b1n%40googlegroups.com.

Reply via email to