OLD | NEW |
1 <!-- | 1 <!-- |
2 * Copyright (C) 2007 Google Inc. | 2 * Copyright (C) 2007 Google Inc. |
3 * | 3 * |
4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
5 * modify it under the terms of the GNU Lesser General Public | 5 * modify it under the terms of the GNU Lesser General Public |
6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
7 * version 2.1 of the License, or (at your option) any later version. | 7 * version 2.1 of the License, or (at your option) any later version. |
8 | 8 |
9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
12 * Lesser General Public License for more details. | 12 * Lesser General Public License for more details. |
13 | 13 |
14 * You should have received a copy of the GNU Lesser General Public | 14 * You should have received a copy of the GNU Lesser General Public |
15 * License along with this library; if not, write to the Free Software | 15 * License along with this library; if not, write to the Free Software |
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, US
A | 16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, US
A |
17 --> | 17 --> |
18 | 18 |
19 <!DOCTYPE hibernate-configuration PUBLIC | 19 <!DOCTYPE hibernate-configuration PUBLIC |
20 "-//Hibernate/Hibernate Configuration DTD 3.0//EN" | 20 "-//Hibernate/Hibernate Configuration DTD 3.0//EN" |
21 "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"> | 21 "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"> |
22 | 22 |
23 <hibernate-configuration> | 23 <hibernate-configuration> |
24 <session-factory name="HibernateSessionFactory2"> | 24 <session-factory> |
25 <property name="dialect">org.hibernate.dialect.HSQLDialect</property> | 25 <property name="dialect">org.hibernate.dialect.HSQLDialect</property> |
26 <property name="connection.driver_class">org.hsqldb.jdbcDriver</property> | 26 <property name="connection.driver_class">org.hsqldb.jdbcDriver</property> |
27 <property name="connection.url">jdbc:hsqldb:mem:shard2</property> | 27 <property name="connection.url">jdbc:hsqldb:mem:shard2</property> |
28 <property name="connection.username">sa</property> | 28 <property name="connection.username">sa</property> |
29 <property name="connection.password"></property> | 29 <property name="connection.password"></property> |
30 <property name="hibernate.connection.shard_id">2</property> | 30 <property name="hibernate.connection.shard_id">2</property> |
31 <property name="hibernate.shard.enable_cross_shard_relationship_checks">tr
ue</property> | 31 <property name="hibernate.shard.enable_cross_shard_relationship_checks">tr
ue</property> |
32 </session-factory> | 32 </session-factory> |
33 </hibernate-configuration> | 33 </hibernate-configuration> |
34 | 34 |
OLD | NEW |