DODS学习日记(二)
DODS中使用doml文件来产生代码和脚本.它就是DODS的输入文件.
一个例子.
<?xml version="1.0" encoding="UTF-8"?>
<doml>
<author>EnhydraTeam</author>
<projectname>jspPhoneBook</projectname>
<database database="HypersonicSQL">
<package id="jspPhoneBook">
<package id="jspPhoneBook.data">
<table id="jspPhoneBook.data.Person" dbTableName="person">
<column id="firstName" usedForQuery="true">
<type dbType="VARCHAR" javaType="String"/>
</column>
<column id="lastName" usedForQuery="true">
<type dbType="VARCHAR" javaType="String"/>
</column>
<column id="phoneNumber" usedForQuery="true">
<type dbType="VARCHAR" javaType="String"/>
</column>
</table>
</package>
</package>
</database>
</doml>