users@glassfish.java.net

EJB 3.0 Inheritance strange problem with DiscriminatorType STRING

From: <glassfish_at_javadesktop.org>
Date: Wed, 09 Apr 2008 13:41:20 PDT

hello,

so i have a question. my application does include an inheritance between two persistent entities with a discriminator value

@DiscriminatorColumn(name="type", discriminatorType=DiscriminatorType.CHAR)

so i realized some strange behaviour when i set the DiscriminatorType to "STRING". with a higher load on the server the response seems to drop periodically and then the server starts to respond normally again, then it drops again. this way the throughput gets low. nevertheless the transmitted values are written to the database correctly.

i change the DiscriminatorType to "CHAR" everything works like a charm also with higher load and the difference in throughput is about 50 transactions per second which is quite impressive. so i wonder if someone already experienced some similar issue?

regards,

mario
[Message sent by forum member 'the666pack' (the666pack)]

http://forums.java.net/jive/thread.jspa?messageID=268430