I used the hibernatetools to generate column comment,the comment could generated,but the Charset couldn't understand。
Databse : oracle9i
Language:chinese
e.g: the column comment in database is :部门ID
in the hbm.xml:
Code:
<many-to-one name="sysDept" class="com.zytech.sys.domain.SysDept" fetch="select">
<column name="DEPT_ID" precision="10" scale="0">
<comment>& #178;& #191;& #195;& #197;ID</comment>
</column>
</many-to-one>
[/code]
the word
"部门ID" become :
& #178;& #191;& #195;& #197;ID
(& #=&#)
how to resolved this problem?????