Browse Source

Fixed the DTD warning for Hibernate

master
Drew Short 11 years ago
parent
commit
1ff350ee97
  1. 2
      src/main/resources/hibernate.cfg.xml
  2. 2
      src/test/resources/hibernate.cfg.xml

2
src/main/resources/hibernate.cfg.xml

@ -1,7 +1,7 @@
<?xml version='1.0' encoding='utf-8'?> <?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE hibernate-configuration PUBLIC <!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD//EN" "-//Hibernate/Hibernate Configuration DTD//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
<hibernate-configuration> <hibernate-configuration>
<!-- a SessionFactory instance listed as /jndi/name --> <!-- a SessionFactory instance listed as /jndi/name -->
<session-factory> <session-factory>

2
src/test/resources/hibernate.cfg.xml

@ -1,7 +1,7 @@
<?xml version='1.0' encoding='utf-8'?> <?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE hibernate-configuration PUBLIC <!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD//EN" "-//Hibernate/Hibernate Configuration DTD//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
<hibernate-configuration> <hibernate-configuration>
<!-- a SessionFactory instance listed as /jndi/name --> <!-- a SessionFactory instance listed as /jndi/name -->
<session-factory> <session-factory>

Loading…
Cancel
Save