test
This commit is contained in:
20
persistence/hibernate.cfg.xml
Normal file
20
persistence/hibernate.cfg.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<!DOCTYPE hibernate-configuration PUBLIC
|
||||
"-//Hibernate/Hibernate Configuration DTD//EN"
|
||||
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
|
||||
|
||||
<!--
|
||||
This hibernate configuration is used only for IMAGES_GALLERY stereotype,
|
||||
because this stereotype is implemented using hibernate native APIs.
|
||||
If you do not use IMAGE_GALLERY you do not need this file.
|
||||
|
||||
The datasource configured here is the datasource in where the images will be
|
||||
store, and usually match wiht the main datasource of application defined in
|
||||
persistence.xml.
|
||||
-->
|
||||
|
||||
<hibernate-configuration>
|
||||
|
||||
<session-factory>
|
||||
|
||||
<property name="hibernate.connection.datasource">java://comp/env/jdbc/BabydatenbankDS</property>
|
||||
<property name="hibernate.jdbc.use_get_generated_keys">false</property>
|
||||
Reference in New Issue
Block a user