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

    Query question

      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,