Commit Graph

16 Commits

Author SHA1 Message Date
vincentguillet 5de8594095 Add PairValidator class for custom validation of even integers 2025-05-20 13:43:20 +02:00
vincentguillet 3da2712bdf Add HibernateConfig class for database configuration and refactor App to use BigDecimal for Ad prices 2025-05-20 13:43:09 +02:00
vincentguillet 24eab5f2cc Update Ad model to use BigDecimal for price and add email validation 2025-05-20 13:42:54 +02:00
vincentguillet 5f279e3e8a Add Ad model integration in App and implement database cleanup method 2025-05-19 14:44:53 +02:00
vincentguillet a7701a59e5 Remove MySQL dialect property from Hibernate configuration and add mapping for Ad model 2025-05-19 14:44:44 +02:00
vincentguillet 0e219efac4 Add Publication abstract class for inheritance in content models 2025-05-19 14:44:35 +02:00
vincentguillet 02b837a0ea Refactor Article class to extend Publication and add views attribute 2025-05-19 14:44:26 +02:00
vincentguillet e368538fed Remove unused Optional import from ArticleDao 2025-05-19 14:44:14 +02:00
vincentguillet 1a5b7b1a35 Update User entity to enable orphan removal for associated articles 2025-05-19 14:44:05 +02:00
vincentguillet eafd02fc07 Add Ad model, DAO, and service for managing advertisements 2025-05-19 14:43:55 +02:00
vincentguillet ad130294fd Refactor ArticleService and UserService to use records for improved readability 2025-05-19 14:43:41 +02:00
vincentguillet bd62504d87 Refactor Article search functionality to support pagination and enhance output formatting 2025-05-15 17:14:54 +02:00
vincentguillet 14d1264091 Disable SQL logging in Hibernate configuration 2025-05-15 15:25:05 +02:00
vincentguillet 7c89d637f7 Add Article service and DAO with criteria-based search functionality 2025-05-15 15:24:46 +02:00
vincentguillet 8fd72d599d first commit with existing project files 2025-05-15 12:02:44 +02:00
vincentguillet ff55029ce2 first commit with existing project files 2025-05-15 11:37:34 +02:00