[JBoss-user] CMR: FK part of primary key

2002-01-17 Thread Marcus Brito
How can I do a foreign-key that's part of a (Container Manager Entity) Bean's Primary Key? Here's the situation: ParentBean has 'name' and 'description' attributes. ChildBean has 'name' and 'description' attributes, and is dependent on ParentBean, ie, ParentBean.name should be part of the ChildB

RE: [JBoss-user] Passing Business Exception to Client

2002-01-17 Thread Marcus Brito
Em Qui, 2002-01-17 às 01:37, Dain Sundstrom escreveu: > It isn't that Entity beans are not designed to handle the error. The > problem that JDBC was not designed to handle this type of error. There is > only one exception in the java.sql package. There is no generic way to > determine the cause

[JBoss-user] Advice on Exception Granularity

2002-01-16 Thread Marcus Brito
Hello, folks. I'm doing an application that takes care of creation and maintenence of simple entities -- so simple (id/description) that I decided to code a SLSB to take care of this entity creation/deletion instead of coding an Entity Bean. So I have methods like getThing(id), createThing(id, d

[JBoss-user] Re: forum not as responsive as the mailing list

2001-12-20 Thread Marcus Brito
> I personally find the forums tedious to read, so I end up reading them less > often. As a result less cmp 2 questions get answered. I also loose > messages in the forum because it does not track which messages I have read. Not to mention that when you reply a message in the forum, it goes t

[JBoss-user] JBoss 3.0: Error deploying application

2001-11-09 Thread Marcus Brito
Hello, folks. Take a look on the following exception I got when trying to deploy an app with JBoss 3.0 checket out from CVS today. (I've pasted here only some portions of the stack trace. If it is important, I may post everything -- Also, I can fully disponibilize the source code if anyone wants

[JBoss-user] JBoss 3.0 not setting Jetty classpath

2001-11-09 Thread Marcus Brito
Hello, folks. I've been using JBoss 3.0 for a few days, experimenting the new CMP 2.0 stuff. It seems to work fine, congratulations. However, I've got some problem deploying a few JSP files that uses my beans. Jetty spits a compilation error, complaining about classes it could not find: my bean

[JBoss-user] Re: Problem with request

2001-10-29 Thread Marcus Brito
> I'm not an HTML expert, but I thought an INPUT text control name, unlike > a checkbox, had to be unique within the form. No, it doesn't. Any input control can have multiple values. If it has multiple values, you should get them with the Request.getParameterValues() method. > notice the value "

[JBoss-user] Re: JBoss-user digest, Vol 1 #1577 - 13 msgs

2001-10-19 Thread Marcus Brito
> Cloudscape 3.6 - FAILS Unable to create a PreparedStatement > PostgreSQL 7.0.2 - HANGS when making an EJB call > Oracle 8.0.4 - WORKS It seems there is more involved in these failures than the database. I've run the Pet Store application under Cloudscape (the version bundled with Sun J2EE RI,

[JBoss-user] Re: JBoss-user digest, Vol 1 #1576 - 13 msgs

2001-10-19 Thread Marcus Brito
> As an alternative to fetching the parameters from the original definition > as above, you can use >SELECT last_value FROM seqname; > to obtain the last value allocated by any backend. You can't trust this. Perhaps some other process (other bean, other application, other thread) has alredy m

[JBoss-user] Pet Store: not creating tables

2001-09-14 Thread Marcus Brito
Hello, people. I'm sure this has been discussed before, but I couldn't find it with a quick search in the archives. I've deployed the Pet Store application in JBoss using the instructions outlined in the HOWTO. Everything went fine, no error message in the logs. Then, I access the app, select