Skip to content

Commit d180bdc

Browse files
authored
Update README.md
1 parent 1eae09d commit d180bdc

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,10 @@ public class Test{
6262
}
6363
}
6464
```
65+
Starting from v2.0, now you can set up database mapping using a custom markup language called the Database Mapping Markup Language (DMML). Once you have a dmml file, to get a DBMap object, simply call:
66+
67+
```java
68+
DBMap dbMap = DBMap.getDBMapFromFile("dmml_file_path");
69+
```
70+
71+
DMML file is very easy to generate. For help on generating a .dmml file, check out the DMMLGuide and sample.dmml.

0 commit comments

Comments
 (0)