Add HibernateConfig class for database configuration and refactor App to use BigDecimal for Ad prices

This commit is contained in:
Vincent Guillet
2025-05-20 13:43:09 +02:00
parent 24eab5f2cc
commit 3da2712bdf
3 changed files with 82 additions and 9 deletions

View File

@@ -12,9 +12,9 @@
<property name="hibernate.hbm2ddl.auto">update</property>
<property name="hibernate.show_sql">false</property>
<property name="hibernate.format_sql">true</property>
<mapping class="com.humanbooster.model.User"/>
<mapping class="com.humanbooster.model.Article"/>
<mapping class="com.humanbooster.model.Ad"/>