micronaut-sql
micronaut-sql copied to clipboard
Projects to support SQL Database access in Micronaut
There is no hint about this, only browsing the actual source code of micronaut-sql gave me the solution, so it could be helpful for others too.
I expected the following dependencies to be enough: ```groovy implementation("io.micronaut.data:micronaut-data-tx-hibernate") implementation("io.micronaut.sql:micronaut-hibernate-jpa") implementation("io.micronaut.sql:micronaut-jdbc-hikari") runtimeOnly("com.h2database:h2") ``` but without: ```groovy implementation("io.micronaut.data:micronaut-data-model") ``` We don't mention in the docs micronaut-data-model is necessary. Without it,...
### Expected Behavior 1. Create a new project using https://launch.micronaut.io. Default settings, but with `jdbc-hikari` added:  2. Follow https://micronaut-projects.github.io/micronaut-sql/latest/guide/#jdbc to get transactions working. ### Actual Behaviour The docs are...
### Feature description Recently I discovered that micronaut-sql-bom only includes a specific set of managed Hibernate dependencies - https://github.com/micronaut-projects/micronaut-sql/blob/4.8.x/gradle/libs.versions.toml#L68-L73 Would it make sense to tie the micronaut-sql-bom to hibernate-platform? https://github.com/hibernate/hibernate-orm/blob/da522846d8625720bd4cb7ffb27153e0eed35be1/documentation/src/main/asciidoc/quickstart/guides/obtaining.adoc#L69...
### Expected Behavior ## Micronaut 3.9.2 + jpa + reactive +vert.x +cockroachdb 1. my yml vert.x config ```` vertx: pg: client: port: 26257 host: 'coarse-gosling-2563.g95.cockroachlabs.cloud' database: 'defaultdb' user: 'bbbang' password:...
### Expected Behavior I would expect that the dependency `jdbi3-sqlobject` that comes from Micronaut BOM didn´t throw any classpath error. The workaround could be overwrites the version that comes from...
### Expected Behavior I would expect that dependency `micronaut-vertx-pg-client` add all the required GraalVM configuration in order to be able to compile/run my "micronaut-vertx-pg-client" application in native mode. ### Actual...
### Feature description _Not sure if bug or feature_ I'm using hikari and postgresql. You can pass additional params via ugly jdbc URL: ``` datasources: default: url: jdbc:postgresql://localhost:5432/db?-c%20my.var=SOMEVAL%20-c%20pg_trgm.similarity_threshold=0.1 ``` I...
### Feature description Make jOOQ configurable by setting a Property. e.g.: ``` 3.16.0 ```
### Expected Behavior The application should run native when built with "./gradlew clean dockerBuildNative" the same way as it runs when built with "./gradlew dockerBuild". ### Actual Behaviour When running...