Also, if I did it the EJB way that I showed in my previous post, that would 
require me to create an @Transient int count  in MyTableA's java file to store 
the count.

Also, what if I wanted to sort the results by the count? This would require a 
lot more work instead of a simple order by clause.

Is there a better way to restructure the Entity classes? Is there a better way 
to nest EJB queries?

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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to