Search the web
Sign In
New User? Sign Up
congo-dev
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
r4452 - /congo/branches/congo-2.0.0.2/src/main/java/com/stonekeep/co   Message List  
Reply | Forward Message #1772 of 1888 |
Author: ojacobson
Date: Tue Jun 30 10:25:20 2009
New Revision: 4452

Log:
Minor thinko in ConventionDAO.save that could, in extremis, lead to a connection
leak.

Modified:

congo/branches/congo-2.0.0.2/src/main/java/com/stonekeep/congo/dao/ConventionDAO\
.java

Modified:
congo/branches/congo-2.0.0.2/src/main/java/com/stonekeep/congo/dao/ConventionDAO\
.java
==============================================================================
---
congo/branches/congo-2.0.0.2/src/main/java/com/stonekeep/congo/dao/ConventionDAO\
.java [iso-8859-1] (original)
+++
congo/branches/congo-2.0.0.2/src/main/java/com/stonekeep/congo/dao/ConventionDAO\
.java [iso-8859-1] Tue Jun 30 10:25:20 2009
@@ -67,8 +67,8 @@
}

public void save(Convention con) throws Exception {
+ logger.debug("save...");
Connection c = dataSource.getConnection();
- logger.debug("save...");
try {
String sql = "UPDATE con_detail SET " + "con_name=?, "
+ "con_location=?, " + "con_start=?, " + "con_end=?, "




Tue Jun 30, 2009 2:25 pm

svn@...
Send Email Send Email

Forward
Message #1772 of 1888 |
Expand Messages Author Sort by Date

Author: ojacobson Date: Tue Jun 30 10:25:20 2009 New Revision: 4452 Log: Minor thinko in ConventionDAO.save that could, in extremis, lead to a connection leak....
svn@...
Send Email
Jun 30, 2009
2:38 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help