开发者

Which version of Hibernate tools file i should use to generate hibernate POJO for java 5

It could be a silly question and i am sorry for that.

I am using ant task for generating POJO and hbm file from databse by using hybernate reverse engg.

But that is generated as per java 4 standard for eg.

private Set volunteerPhysicalInfos = new HashSet(0);

private Set volunteerReferences = new HashSet(0);
开发者_开发知识库

i am using JBoss Tools 3.1 :: Eclipse 3.5.2 from http://www.jboss.org/tools/download

i want to generate the POJO files in java 5 standards for eg.

HashSet <String>collection = new HashSet <String>();

For this which version of hibernate tool i should use?


got the answer need to set jdk5="true"

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜