• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 274
  • Last Modified:

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.
0
kerzner
Asked:
kerzner
  • 2
2 Solutions
 
CEHJCommented:
Start looking in the logs - maybe there are no mappings
0
 
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 ;)
0
 
kerznerAuthor Commented:
"Create from database table" actually creates another table which it uses.
0
 
CEHJCommented:
:-)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now