Skip to content

Commit a55f556

Browse files
hpoettkerfmbenhassine
authored andcommitted
Use Hibernate mapping DTD from classpath
1 parent a30aaac commit a55f556

File tree

2 files changed

+2
-2
lines changed
  • spring-batch-infrastructure/src/test/resources/org/springframework/batch/item/database
  • spring-batch-samples/src/main/resources/org/springframework/batch/sample/domain/trade

2 files changed

+2
-2
lines changed

spring-batch-infrastructure/src/test/resources/org/springframework/batch/item/database/Foo.hbm.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0"?>
22
<!DOCTYPE hibernate-mapping PUBLIC
33
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
4-
"https://hibernate.org/dtd/hibernate-mapping-3.0.dtd">
4+
"classpath://org/hibernate/hibernate-mapping-3.0.dtd">
55

66
<hibernate-mapping>
77
<class name="org.springframework.batch.item.sample.Foo" table="T_FOOS">

spring-batch-samples/src/main/resources/org/springframework/batch/sample/domain/trade/CustomerCredit.hbm.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0"?>
22
<!DOCTYPE hibernate-mapping PUBLIC
33
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
4-
"https://hibernate.org/dtd/hibernate-mapping-3.0.dtd">
4+
"classpath://org/hibernate/hibernate-mapping-3.0.dtd">
55

66
<hibernate-mapping>
77
<class name="org.springframework.batch.sample.domain.trade.CustomerCredit"

0 commit comments

Comments
 (0)