I have a piece of code that looks like this:
debug("Before");
for (int i = 0; i < values.length; i++)
programValueEntityHome.create(us, attribute, values[i]);
debug("After");
For some reason an ejbLoad is sneaking into the picture. As you can see
from the followi
I have a BMP called UserEJB.
when a client call the EJB by findByPrimaryKey, the EJB only call
ejbload at the first time. then it is not synchronized with the DB.
the EJB specification said BMP should called ejbload every time when
a transaction begin.
How can i ensure ejbload called every
[Elhadi barkat]
> int imgSize = (int)blobObj.length();
> // Create byte[] data array to store picture data temporarily
> // before writing it to a file
> image = new byte[imgSize];
> // Retrieve the picture as a binary stream from
Hi,
I have a problem with Blobs&Entity Beans with
Orion 1.2 and DB2 7.1
I'm getting the following exception while retrieving a picture from DB into
an entity bean
Error in ejbLoad : java.lng.AbstractMethodError:
COM/ibm/db2/jdbc/app/DB2ResultSet.getBlob
Nested exc
ot; and see if
that helps. Otherwise, contact bugs@ again.
Regards,
Karl Avedal
Klaus Thiele wrote:
> Hello,
>
> i just discovered, that the ejbLoad() method was
> NOT called at the second (and subsequent) calls to the
> remote methods (BMP).
> (until an passivation or ejbStore is do
Hello,
i just discovered, that the ejbLoad() method was
NOT called at the second (and subsequent) calls to the
remote methods (BMP).
(until an passivation or ejbStore is done).
yes, i checked the ejb-jar.xml for correct container-transaction's.
with the j2sdkee it works correct!
first
Hi!
I got into a little trouble. I'm using ejbFindAll() method to obtain all
objects to show on the web page. Later in JSP i divide it into the pages.
But Orion calls ejbLoad for each found EJBObject. Some application servers
has an option that determines when to call ejbLoad in Entity