For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 10 replies, 7 voices, and was last updated 17 years, 4 months ago by
David Foote.
-
AuthorPosts
-
Frank WeismantelMemberHello,
when i do the reverse engineering for a database table PERSON,
the find methods in the DAO classes uses List and not List<Person>
as return values.I have lookup the templates and found out that for the generation
for List<T> the template variable $jdk5 is used. My project use the
settings for jdk 5 compilation.Why does the reverse engineering tools set not the template varaiable
I am using the current release of myeclipseide
i hope somebody can help
November 29, 2006 at 12:54 pm #262796
Haris PecoMemberfrweisma,
Currently MyEclipse doesn’t support creating jdk5 syntax for POJO.I hope that we will add this in future releases.
Regards,
November 30, 2006 at 1:56 am #262831
Frank WeismantelMember@support-snpe wrote:
frweisma,
Currently MyEclipse doesn’t support creating jdk5 syntax for POJO.I hope that we will add this in future releases.
Regards,
But it looks like you integrated the hibernate reverse engineering console.
And this already supports the jdk5 syntax. Also when i read the other
messages here in the forum, it was working in the past.I have take a look at the tool and there is one property in the configuration
file to set the $jdk5 to true or false. On default the property is set to false.November 30, 2006 at 7:25 am #262833
Brian FernandesModeratorWe have integrated with Hibernate Tools from JBoss, but for stability reasons we have decided to explicitly turn JDK 5 support off, because of which overriding this variable in the velocity templates will not work. If you you still wish to see JDK 5 code, you may remove the conditional statements surrounding it in the templates and delete the portions of the templates which generate Java 1.4 code.
Also when i read the other messages here in the forum, it was working in the past.
We do support JDK 5 for the HibernateSessionFactory class that can be created through a wizard or during capability addition, however, JDK 5 support was never present for POJOs and DAOs generated during the RE process.
I have noted your request, we will review our decision to support (or not) JDK 5 in the next release as request for it are slowly increasing; an option will be added to the UI to enable JDK5 generation if we decide to support it going forward.
Sorry for the inconvenience caused & thank you for asking.
December 7, 2006 at 2:13 am #263141
Frank WeismantelMemberi was doing a little changing in the template of the DAO generating and it now works
for me. If you want i can send the template to youDecember 7, 2006 at 1:17 pm #263179
Brian FernandesModeratorIf you could post the new template to this thread, we’d be happy to have it.
Thank you.
April 24, 2007 at 6:26 pm #269330
lindholm42MemberI really want the jdk5 option enabled.
June 20, 2007 at 12:10 pm #271815
Marshall JonesMemberCan anyone tell me if there has been any work on enabling jdk5.0 code generation option yet? It has been quite some time and we have not seen that support added to the DAO and POJO Generation yet. Any information would be greatly appreciated.
Thanks,
MarshallJune 20, 2007 at 2:13 pm #271832
Brian FernandesModeratorWe have gone some way towards enabling Java 5 generation for the RE process. I will try to prioritize this for the 6.0GA release, failing which it will definitely make it to the 6.1 release.
Sorry for the inconvenience caused.
September 23, 2007 at 11:30 pm #276041
angi0003MemberThis message has not been recovered.
July 14, 2008 at 6:55 pm #287122
David FooteMemberHas this capability been added for version 6.5?
-
AuthorPosts
