如果某个数据库中的数据要直接转为XML

最好把这些字段类型都置为varchar,并在数据入库前就做好格式转换

在J2EE系统中,可以在 POJO的setter()方法中做好转换

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.