Hi there.

I've a set of container managed entity beans running
on JBOSS, but I've had to define my own
finder method:

ejbFindByCategory

which returns a collection.

The problem is that I use standard JDBC calls to pick
up the records, but an exception is
being thrown when I try to access the database
(MySQL).

The message tells me that the table "art_to_cat" does
not exist ... which it does, so you can see
why I'm a bit confused.

Since I use the JAWS interface for database access,
I'm thinking that perhaps I need to define the
existence of the table somehow. It's used as a link
table in a many-to-many relationship, so I 
haven't actually defined an entity bean to access it.

Do I need to do this in order that it can be used in a
query as part of a defined finder method?

Thanks in advance


Ray



____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to