Hi,

I've been with a strage bug for a day or two and i can't figure out what's wrong...

I've 26 BMP beans and they work fine, but when i make a search that returns more than 270 beans to my application i get lot's of ClassCastException's and the EJB container start behaving strange, example:

findByPrimaryKey ( new Integer ( 10 ) );

will return the bean with id = 37 or some other.

The strange part is that it works if the return objects are less than a certain number. The number changes from object type to object type, example:

for Object A the max returned objects without error is 270
for Object B the max returned objects without error is 350

The code is almost the same between object's the main difference is on the related SQL table.

I'm using a SQLServer JDBC connection with the jTDS driver. I've tested the query on a JDBC SQL GUI App and it works fine (using jTDS driver [same version as used on OpenEJB])

I'm going nuts with this strange bug... any thoughts?

<<inline: netvita.gif>>

Reply via email to