Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-3071

Stack overflow testing one-to-one relations

    XMLWordPrintable

    Details

      Description

      Create two entities with a @OneToOne relationship. The auto-generated DataOnDemand creates a circular reference, endlessly calling init() and eventually throwing a StackOverflowError.

      You can observe the problem checking out http://code.google.com/p/ossmoney, debugging InvestmentTransactionIntegrationTest and looking at the InvestmentTransaction and InvestmentPrice classes.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              aswan Andrew Swan
              Reporter:
              xmaniac Jose Noheda
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: