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
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
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
> 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
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
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
> 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 "
> 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,
> 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
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
10 matches
Mail list logo