facebook

Reverse Engineering – Use "List" instead of "

  1. MyEclipse Archived
  2.  > 
  3. Database Tools (DB Explorer, Hibernate, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #281012 Reply

    Is there a way, either using a template or a “ReverseEngineeringStrategy” class, to have the reverse engineering tool use the “List” class instead of the “Set” classes for the foreign key tables?

    When you are using EJB3/JSF the h:table appears to only work with List objects. If I manually modify the reverse engineered Entity beans created by the reverse engineering tool to use “List” instead of “Set” the JSF/JSP pages work just fine. I was hoping that I could create either a template or a “ReverseEngineeringStrategy” class to do this for me, so if a user re-generates the files then he/she will not have to manually edit the generated files by replacing all (“Set” to “List” and all “HashSet” to “ArrayList”).

    Is this possible?

    Greatly appreciated,
    Anthony

    #281029 Reply

    Loyal Water
    Member
Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Reverse Engineering – Use "List" instead of "

You must be logged in to post in the forum log in