Uncommited objects and Select performance

2009-05-17 Thread Jan Kotek
Hi, I have performance problem with queries on uncommited data. I run huge import, with commit at each 1 items. During import I make lot of selection queries (to protect data integrity), but they are very slow. With commit every 100 items, queries run lot of faster. Profiler told me that most

Re: How to prebuild cascade types

2008-04-29 Thread Jan Kotek
Maybe you can subclass CascadeType enum? On 4/29/08, Patrick Linskey <[EMAIL PROTECTED]> wrote: > Hi, > > Note that you can turn on CascadeType.PERSIST across the board (but can't > subsequently turn it off) by setting the > persistence-unit-defaults/cascade-persist element in > orm.xml to true.

Huge dataset import

2008-04-24 Thread Jan Kotek
generated by JPA can be problem... Thanks for advices Jan Kotek

Table per class problem

2008-04-04 Thread Jan Kotek
table Car3. Have someone alse discovered this bug, where should I put it? Regards, Jan Kotek

JPQL swing console

2008-03-27 Thread Jan Kotek
There is plenty of tools like this for SQL, so I wonder if something like that exists for JPQL. And if nothing exist, should I create it as independent library? It can be very usefull for debuging. Regards, Jan Kotek www.kotek.net/opencoeli

Swing JPQL console

2008-03-27 Thread Jan Kotek
There is plenty of tools like this for SQL, so I wonder if something like that exists for JPQL. And if nothing exist, should I create it as independent library? It can be very usefull for debuging. Regards, Jan Kotek www.kotek.net/opencoeli