dbptk-developer
dbptk-developer copied to clipboard
MySql->PostgreSQL warning: org.postgresql.jdbc.TimestampUtils
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:
-
SIARD was created from MySQL database
-
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.
-
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
Related to this: https://github.com/pgjdbc/pgjdbc/issues/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.