[jboss-jira] [JBoss JIRA] Created: (JBAS-3751) Change Statements in GeneralPurposeDatabasePersistencePlugin

jivkoto (JIRA) jira-events at jboss.com
Mon Oct 9 06:59:41 EDT 2006


Change Statements in GeneralPurposeDatabasePersistencePlugin 
-------------------------------------------------------------

                 Key: JBAS-3751
                 URL: http://jira.jboss.com/jira/browse/JBAS-3751
             Project: JBoss Application Server
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: EJB2
    Affects Versions: JBossAS-4.0.4.GA
         Environment: Windows XP + SP2; JDK 1.5.0_07
            Reporter: jivkoto
         Assigned To: Scott M Stark
            Priority: Minor


In org.jboss.ejb.txtimer.GeneralPurposeDatabasePersistencePlugin you are using Statement in selectTimers method.

         st = con.createStatement();
         rs = st.executeQuery("select * from " + getTableName());

 In all other methods you are using PreparedStatements. Please, change the code to use PreparedStatements.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list