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

MySql->PostgreSQL warning: org.postgresql.jdbc.TimestampUtils #577

Open
BorisDomajnko opened this issue Jan 24, 2024 · 1 comment
Open
Assignees

Comments

@BorisDomajnko
Copy link

WARNING: Illegal reflective access by org.postgresql.jdbc.TimestampUtils (file:/home/dbdipview/admin/siard/dbptk-app-2.10.4.jar) to field java.util.TimeZone.defaultTimeZone

Steps required to reproduce the bug:

  1. SIARD was created from MySQL database

  2. Verification OK:
    Number of requirements passed [27]
    Number of sub-requirements ok [72]
    Number of requirements failed [0]
    Number of errors [0]
    Number of warnings [93]
    Number of requirements skipped [16]
    Validation process finished the SIARD is valid.

  3. Upload SIARD to PostgreSQL
    Initializing database
    Importing SIARD version 2.1
    WARNING: An illegal reflective access operation has occurred
    WARNING: Illegal reflective access by org.postgresql.jdbc.TimestampUtils (file:/home/dbdipview/admin/siard/dbptk-app-2.10.4.jar) to field java.util.TimeZone.defaultTimeZone
    WARNING: Please consider reporting this to the maintainers of org.postgresql.jdbc.TimestampUtils
    WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
    WARNING: All illegal access operations will be denied in a future release
    Target database already exists, reusing it.
    Obtained database structure
    Exporting database structure
    Exporting schema structure for schema IPRS_arh

MySQL_dbptk-app.log.txt
dbptk-app.log.txt

@luis100
Copy link
Member

luis100 commented Jan 24, 2024

Related to this: pgjdbc/pgjdbc#986
To fix itself by updating postgresql driver. Currently using a Java 7 compatible driver which is EOL. Should upgrade to the latest stable version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants