diff --git a/src/main/resources/spring/business-config.xml b/src/main/resources/spring/business-config.xml index 7117ca214f6069ba5683b5b4a46bc05aa8b0cf98..5e9dc688288be6b1d58321acb772cd89b2bfc142 100644 --- a/src/main/resources/spring/business-config.xml +++ b/src/main/resources/spring/business-config.xml @@ -39,6 +39,11 @@ <property name="jpaVendorAdapter"> <bean class="org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter" p:database="${jpa.database}" p:showSql="${jpa.showSql}"/> + <!-- the 'database' parameter refers to the database dialect being used. + By default, Hibernate will use a 'HSQL' dialect because 'jpa.database' has been set to 'HSQL' + inside file spring/data-access.properties + + --> </property> <!-- gDickens: BOTH Persistence Unit and Packages to Scan are NOT compatible, persistenceUnit will win --> <property name="persistenceUnitName" value="petclinic"/>