ejbLoad is getting called during a transaction

2001-10-02 Thread Alex Paransky
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

ejbload

2001-03-01 Thread Peng Yong
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

Re: ejbLoad : Error retrieving a picture from DB

2000-12-28 Thread James Manning
[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

ejbLoad : Error retrieving a picture from DB

2000-12-27 Thread Elhadi barkat
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

Re: ejbLoad missing

2000-08-22 Thread Karl Avedal
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

ejbLoad missing

2000-08-22 Thread Klaus Thiele
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

ejbLoad after ejbFind

2000-06-02 Thread Simon Salykov
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