diff --git a/ant/docs/reference-guide.md b/ant/docs/reference-guide.md index b9db72c147..4f5af192c7 100644 --- a/ant/docs/reference-guide.md +++ b/ant/docs/reference-guide.md @@ -262,10 +262,37 @@ hibernate.default_schema=PUBLIC ### 2.1.2 The `configurationfile` attribute +The second possibility is to use the well known `hibernate.cfg.xml` file and specify it using the +`configurationfile` attribute. + +```xml + + + ... + + ... + + +``` + +A possible example of such a `hibernate.cfg.xml` file is shown in the xml snippet below. + +```xml + + + org.h2.Driver + jdbc:h2:mem: + + + +``` ### 2.1.3 The `` element +### 2.1.4 Additional Remarks + + ### 2.2 JPA Configuration ### 2.3 JDBC Configuration