Skip to content

Conversation

@rujche
Copy link

@rujche rujche commented Nov 13, 2025

No description provided.

- Replaced Oracle JDBC driver with PostgreSQL driver in pom.xml
- Updated all configuration files (application.properties, application-docker.properties) with PostgreSQL settings
- Migrated Photo.java entity to remove Oracle-specific column definitions (NUMBER, SYSTIMESTAMP)
- Created new postgres-init/ scripts to replace oracle-init/ scripts
- Updated docker-compose.yml to use PostgreSQL container instead of Oracle container
- All database URLs, drivers, and dialects updated from Oracle to PostgreSQL
- Added environment variable support for database credentials
- Upgraded commons-io from 2.11.0 to 2.14.0 to fix CVE-2024-47554 (HIGH severity)
- Upgraded org.postgresql:postgresql from 42.3.8 to 42.7.2 to fix CVE-2024-1597 (CRITICAL severity)
- Both CVEs are now resolved with secure versions
… references in comments

- Updated PhotoServiceImpl.java: Changed 'Oracle database' to 'PostgreSQL database' in comments and log messages
- Updated application-docker.properties: Changed file upload comment to reference PostgreSQL
- Updated PhotoFileController.java: Changed all Oracle database references to PostgreSQL in class docs, method docs, and log messages
- Updated PhotoRepository.java: Removed 'Oracle specific' references from JavaDoc comments
- All functional code already migrated, these are documentation/comment updates for completeness
- Migration validation: All CVEs fixed, build passing, tests passing, 100% migration coverage achieved
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

Successfully merging this pull request may close these issues.

2 participants