<?xml version='1.0' encoding='utf-8'?> <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"> <hibernate-configuration> <session-factory> <!-- Database connection settings --> <property name="connection.datasource">java:comp/env/jdbc/ucg</property> <property name="default_schema">UGC_W2W_C</property>

flutheronioneyedΛογισμικό & κατασκευή λογ/κού

13 Δεκ 2013 (πριν από 3 χρόνια και 10 μήνες)

77 εμφανίσεις

<?
xml
version
=
'1.0'
encoding
=
'utf-8'
?>
<!
DOCTYPE
hibernate-configuration
PUBLIC
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"
>
<
hibernate-configuration
>
<
session-factory
>
<!-- Database connection settings -->
<
property
name
=
"connection.datasource"
>
java:comp/env/jdbc/ucg
</
property
>
<
property
name
=
"default_schema"
>
UGC_W2W_C
</
property
>
<
property
name
=
"dialect"
>
org.hibernate.dialect.Oracle9Dialect
</
property
>
<
property
name
=
"show_sql"
>
false
</
property
>
<
property
name
=
"format_sql"
>
true
</
property
>
<
property
name
=
"jdbc.use_streams_for_binary"
>
true
</
property
>
<
property
name
=
"max_fetch_depth"
>
1
</
property
>
<
property
name
=
"hibernate.connection.autocommit"
>
false
</
property
>
<
property
name
=
"hibernate.jdbc.batch_size"
>
0
</
property
>
<
property
name
=
"transaction.manager_lookup_class"
>
org.hibernate.transaction.WebSphereTransactionManagerLookup
</
property
>
<
property
name
=
"transaction.factory_class"
>
org.hibernate.transaction.JTATransactionFactory
</
property
>

<!-- Disable the second-level cache -->
<
property
name
=
"cache.provider_class"
>
org.hibernate.cache.NoCacheProvider
</
property
>
<!-- Drop and re-create the database schema on startup -->
<!-- property name="hbm2ddl.auto">create</property -->
<
mapping
resource
=
"./eu/ucg/dm/mapping.hbm.xml"
/>
<
mapping
resource
=
"./eu/ucg/dm/dctm.hbm.xml"
/>
<
mapping
resource
=
"./eu/ucg/dm/queries.hbm.xml"
/>
</
session-factory
>
</
hibernate-configuration
>