Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom spring.jpa.properties.hibernate.dialect #16

Open
underkoder opened this issue Apr 18, 2019 · 2 comments
Open

Custom spring.jpa.properties.hibernate.dialect #16

underkoder opened this issue Apr 18, 2019 · 2 comments
Labels
enhancement New feature or request
Milestone

Comments

@underkoder
Copy link

PostgresTcExtension don't provide the ability to set custom spring.jpa.properties.hibernate.dialect.
It sets PostgreSQL9Dialect.class.getCanonicalName() by default.

@antkorwin
Copy link
Member

Thanks!

I think it will be good to move a custom dialect in other annotation,
and use in tests required variant.

something like this:

@EnablePostgresDataTest
@PostgresDialect("org.hibernate.dialect.PostgreSQL9Dialect")
class AnyTest {
   ...
}

@antkorwin antkorwin added the enhancement New feature or request label Apr 22, 2019
@antkorwin antkorwin added this to the v0.3 milestone Apr 22, 2019
@underkoder
Copy link
Author

Nice solution.

@antkorwin antkorwin modified the milestones: v0.3, v0.5 Aug 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants