ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "omarcioRibeiro()" <omarcioribe...@gmail.com>
Subject Value inserted in Fild
Date Tue, 19 Apr 2005 11:43:23 GMT
Personal good morning.  
  
I have a table in MySQL that contains a field AUTO_INCREMENT,  
how can I recover the last value inserted in that field???

 SqlMapClient sqlMap = MyApp.getSqlMapInstance();
      
        try {
            sqlMap.insert("insert_pesona",pesona);//
                 } catch (SQLException e) {
            return ERROR;
               
         
        }
-- 
-vocĂȘ recebe aquilo que espera.(William Branham)

Mime
View raw message