0 Replies Latest reply on Nov 21, 2006 3:53 PM by Gang Duan

    Query question

    Gang Duan Newbie

      Hi,

      Here is my question: assuming class TestA contains class TestB as its attribute, is the following query allowed? I tried but failed.

      select new TestA(ta.id, new TestB(ta.tb.id, ta.tb.name)) from TestA as ta


      Thanks,