CMP EJB returns empty collections

Hi,

I generated a CMP (using NetBeans and JBoss, from a database table, but that should not matter).

My problem is, the collections I get are always empty. Whatever the call, generated or written later. No exceptions though.

Where should I look?

Thank you.
LVL 1
kerznerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

CEHJCommented:
Start looking in the logs - maybe there are no mappings

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
JavatmCommented:
If you dont have logs better put a system.out in the client program or the testclient application to test your cmp bean and see if that outputs the those data if it's empty then maybe there's somthing wrong with your code if not maybe the database driver is not up or you may also check the server console or tomcat console w/c ever you got may the database driver is not included on your classpath check whatever may solve it ;)
kerznerAuthor Commented:
"Create from database table" actually creates another table which it uses.
CEHJCommented:
:-)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java EE

From novice to tech pro — start learning today.