Commit Graph

5 Commits

Author SHA1 Message Date
Claude 1aa0887fa9
Implement database connection initialization
- Created DatabaseManager class in config package to manage database connections
- Implemented singleton pattern with JPA EntityManagerFactory and HikariCP connection pooling
- Initialized database connection in MediaManagerApplication on startup
- Added proper shutdown cleanup for database resources in shutdown hook
- Uncommented Media entity class in persistence.xml to enable JPA mapping
- Resolved TODO: Initialize database connection (MediaManagerApplication.java:21)
2025-11-23 19:30:42 +00:00
Gustavo Henrique Santos Souza de Miranda 281618a725 docs: Add `REFACTORING.md` to document applied refactoring patterns and improvements. 2025-11-16 18:47:20 -03:00
Gustavo Henrique Santos Souza de Miranda 86da601ad6 Remove .idea folder from repository and update .gitignore
- Remove IntelliJ IDEA configuration files from version control
- Update .gitignore to exclude .idea/ folder

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-13 02:31:46 -03:00
Gustavo Henrique Santos Souza de Miranda 386f9fdf33 Add GPLv3 license to project: included `COPYING` file with full license text. 2025-11-13 02:28:26 -03:00
Gustavo Henrique Santos Souza de Miranda f66cfa6ea4 Initialize MediaManager-Core project with essential setup:
- Added `.gitignore` for common IDE and build artifacts.
- Configured `pom.xml` with dependencies: PostgreSQL, Hibernate, HikariCP, Log4j 2, Jackson, JUnit 5.
- Created `Media` entity with JPA annotations.
- Added `application.properties` for database and IPC configuration.
- Configured Log4j 2 with console and rolling file appenders.
- Provided `README.md` with setup instructions.
- Included `MediaManagerApplication` class as a starting point.
2025-11-13 02:24:11 -03:00