AppFuse
  1. AppFuse
  2. APF-1049

Hibernate returns repeat records when getAll

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.2
    • Component/s: Persistence Layer
    • Labels:
      None
    • Environment:
      windows,struts2,hibernate,mysql

      Description

      I have a entity named salary.
      salary is oneToOne user.

      if a user has two roles,when I get all of salary,there will be one repeat record.
      if a user has three roles,when I get all of salary,there will be two repeat records.
      and so on.

      attachment is my demo project.

        Activity

          People

          • Assignee:
            Matt Raible
            Reporter:
            ChenZhiguo
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development