[jboss-user] [EJB 3.0] - Query question

gduan2000 do-not-reply at jboss.com
Tue Nov 21 15:53:48 EST 2006


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,

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987715#3987715

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987715



More information about the jboss-user mailing list