Skip to content

Extract database type from JDBC URL and forward to Hibernate #7708

Closed

Description

@odrotbohm

It looks like that I have to configure spring.jpa.database explicitly when I use spring.datasource.url. The latter is a common approach when e.g. moving from embedded H2/HSQL to a persistent local one. It would be cool if Boot would derive the value to use for the former based on the JDBC URL configured similar to what it does for the JDBC driver class.

Activity

  1. added
    status: waiting-for-triage
    on Dec 20, 2016
  2. added
    type: enhancement
    and removed
    status: waiting-for-triage
    on Dec 21, 2016
  3. snicoll commented on Dec 22, 2016

    @snicoll
    Member

    Funny that our documentation states "auto-detected by default". That's quite misleading!

  4. chris-denglere commented on Dec 27, 2016

    @chris-denglere

    Hey team,

    I'm new to the project on github, but have used STS some previously. Would this enhancement be a good place for me to start contributing? Thanks!

  5. snicoll commented on Dec 27, 2016

    @snicoll
    Member

    Chris, those issues are typically flagged with ideal-for-contribution. Feel free to review those and the contributing documentation. Thanks!

  6. added this to the 1.5.0 RC1 milestone on Dec 30, 2016
  7. snicoll commented on Jan 3, 2017

    @snicoll
    Member

    Closing in favor of PR #7796

  8. removed this from the 1.5.0 RC1 milestone on Jan 3, 2017
  9. added
    status: duplicate
    and removed
    type: enhancement
    on Jan 3, 2017
  10. added 2 commits that reference this issue on Jan 3, 2017
    24c83d1
    ce9beef
  11. added
    status: superseded
    and removed
    status: duplicate
    on Sep 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: superseded

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions