Add HibernateConfig class for database configuration and refactor App to use BigDecimal for Ad prices
This commit is contained in:
@@ -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"/>
|
||||
|
||||
Reference in New Issue
Block a user