[hibernate-dev] Cursor leak

2017-03-14 Thread Vikas Bali
Hi I've observed cursor leak when using hibernate core version 4.1.6 with Java 8 and JBOSS EAP 7 env. I simply loading objects from database using hibernate and I do see for each hibernate execution, cursor is opened and it never closed till jobs server instance is down. I have tried using curr

[hibernate-dev] FW: DirectPropertyAccessor replacement in hibernate 5.2.4

2016-11-20 Thread Vikas Bali
Hi I used to extend DirectPropertyAccessor and had custom implementation of getter and setter implementation of the hibernate property. Could you please let me know what should I replace it with. I tried replacing it with PropertyAccessStrategyBasicImpl and PropertyAccessStrategyFieldImpl but I

[hibernate-dev] Remove added XML from confiuration

2014-12-13 Thread Vikas Bali
Hi all I am having problem while adding mapping files dynamically. It takes long time to add after some time. I did not find any way to remove the added XML from configuration object once added. I believe this is an issue of performance. Please suggest. Thnaks Vikas __

[hibernate-dev] hiberntae 4.1.6 / spring 3.1.3 upgrade issue

2012-11-29 Thread Vikas Bali
Hi, I had recently upgraded hibernate version to 4.1.6 with that I also had to upgrade spring too to version 3.1.3.Release which is compatible to hibernate 4, but I am getting following issue with this change: In my hibernate.cfg.xml, I load a mapping file e.g, "" and x.hbn.xml: