name: Bug report
description: Create a report and help us improve
labels: ["T: Defect"]
body:
  - type: markdown
    attributes:
      value: |
        Please fill in all required fields with as many details as possible. In order to best track issues, please create a new issue for every problem, don't create summary tickets containing several unrelated issues.
  - type: textarea
    id: expected
    attributes:
      label: Expected behavior
      description: |
        Describe what you were expecting jOOQ to do
      placeholder: |
        Here you can also attach log files, screenshots or a video
  - type: textarea
    id: actual
    attributes:
      label: Actual behavior
      description: |
        Describe what you observed jOOQ did instead
      placeholder: |
        Here you can also attach log files, screenshots or a video
  - type: textarea
    id: steps
    attributes:
      label: Steps to reproduce the problem
      description: |
        - If the problem relates to code generation, please post your code generation configuration
        - If the problem relates to upgrades, please check if your RDBMS version is still supported by jOOQ: https://www.jooq.org/download/support-matrix
        - A complete set of DDL statements can help re-create the setup you're having
        - An MCVE can be helpful to provide a complete reproduction case: https://github.com/jOOQ/jOOQ-mcve
      placeholder: |
        Here you can also attach log files, screenshots or a video
    validations:
      required: true
  - type: input
    id: jooq-version
    attributes:
      label: jOOQ Version
      description: |
        What jOOQ version and edition did you use?
        Note: While you can obviously continue using older versions of jOOQ, it may well be that your bug is already fixed. If you're using an older version, please also try to reproduce the bug in the latest version of jOOQ before reporting it.
      placeholder: ex. jOOQ Professional Edition 3.17.2
    validations:
      required: true
  - type: input
    id: database-version
    attributes:
      label: Database product and version
      description: |
        What database version and distribution did you use (use e.g. `select version()`).
        See this article on how to get the database version https://blog.jooq.org/how-to-get-an-rdbms-server-version-with-sql/)
      placeholder: ex. PostgreSQL 15beta2 (Debian 15~beta2-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
    validations:
      required: true
  - type: input
    id: java-version
    attributes:
      label: Java Version
      description: What JDK version and distribution did you use (use `java -version`)
      placeholder: ex. openjdk version "17" 2021-09-14
  - type: input
    id: jdbc-version
    attributes:
      label: JDBC / R2DBC driver name and version (include name if unofficial driver)
      description: What JDBC or R2DBC driver name and version did you use.
      placeholder: ex. org.postgresql:postgresql:42.4.2