|
From: <jue...@we...> - 2004-12-01 21:47:25
|
Thomas, everybody, =20 A valid point. Any ideas on this? =20 Juergen =20 ________________________________ Von: spr...@li... im Auftrag von = Craig Shearer Gesendet: Mi 01.12.2004 22:38 An: spr...@li... Betreff: [Springframework-user] DeadlockLoserDataAccessException Hello all Springers We're using Spring in conjunction with Hibernate, and MySQL, and we're trying to deal with deadlock situations. Right now, when the database encounters a deadlock, it gets thrown as an UncategorizedDataAccessException. What we'd like is for deadlocks to be thrown as the specific DeadlockLoserDataAccessException. So, I did a little reading on this, and read some of the Spring source. = It appears that although the DeadlockLoserDataAccessException class exists, = it is not thrown anywhere. Now, I've read the source code for the = SQLErrorCodes class, expecting to be able to supply a customised sql-error-codes.xml = file, but it appears there is no facility to specify deadlock codes. Does anybody have any comment on this? We could enhance the = SQLErrorCodes class ourselves and submit it as a patch, or perhaps somebody else has a solution. (Or am I on the wrong track entirely?) Regards, Craig Shearer Senior Technical Architect GFG Group http://www.gfg-group.com mailto:csh...@gf... Phone: +64 (0) 9 966 7097 Mobile: +64 (0) 27 4936 334 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Springframework-user mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-user |