Dennis Melzer

Results 70 comments of Dennis Melzer

> a bit overkill when knowing the implementation. Why? There is already a test and file with some combination etc. Why you don’t reuse it? https://github.com/OpenAPITools/openapi-generator/blob/master/modules/openapi-generator/src/test/resources/bugs/issue_4947.yaml

> If I don't specify that field as required in Swagger, the generator will create that field with Optional.of. At that point, if my value is null, it will throw...

https://github.com/OpenAPITools/openapi-generator/issues/14765#issuecomment-1570215549 https://github.com/OpenAPITools/openapi-generator/issues/14765#issuecomment-1948266832 https://github.com/OpenAPITools/openapi-generator/issues/14765#issuecomment-1948357891 And off course: https://github.com/OpenAPITools/openapi-generator/pull/17202 https://github.com/OpenAPITools/openapi-generator/pull/17202#discussion_r1407664380 And the whole discussion is of no use if your Jackson incorrectly serializes an Optional/JsonNullable. You have to set the settings correctly...

@jeanbisutti At first I didn't see any difference. I'll set it to the base class so that it's for all tests. Are the options described somewhere? `@JvmOptions( "-DlimitQuickPerfSqlInfoOnConsole=true" )` and...

> You could also programmatically use System.setProperty("limitQuickPerfSqlInfoOnConsole", true) / System.setProperty("limitQuickPerfSqlInfoOnConsole", false) . Yes that's clear, but not really recommended in Spring (tests) :) Normally you use the properties/yaml file, the...

> A `JvmSystemPropertry` annotation should be added. I can help you to do it and contribute if you are interested. That sounds awesome > You are using Spring. So, you...

@jeanbisutti thanks for the quick reply What exactly is your suggestion? Should there be counted 1 select AND 1 insert or just 1 insert?

I'm currently using Quickperf with [jOOQ](https://github.com/jOOQ/jOOQ) I'm currently still unsure whether Quickperf with jOOQ offers so many advantages compared to JPA. jOOQ delivers more expected SQL statements. What is striking,...

> You can build a different datasource proxy in your tests with `QuickPerfSqlDataSourceBuilder`, an example [here](https://github.com/quick-perf/quickperf-examples/blob/22d3987b8d3bc84a1bb33c13b7f243068c7178b5/hibernate-junit5/src/test/java/org/quickperf/sql/HibernateJUnit5Test.java#LL156C42-L156C72). If you use a [QuickPerf Spring Boot starter](https://github.com/quick-perf/doc/wiki/Spring#spring-boot), you could use a Spring Boot...