Skip navigation
0

Hi,

  following is my code, I am using netezza JDBC driver 5.0.10,this  driver support BATCH UPDATES, so with the following code i should get BatchUpdateException but I am getting SQLException would any  one please help me.I am first time working with Netezza

 

                             

                             

                                                      try{

                                                                     for(String dBstat: DbStatments)

                                                                    {

                                                                            statement.addBatch(dBstat);

                                                                    }

                                                                   noOfRecordsUpdated=statement.executeBatch();

                                                              

 

 

 

 

                                                         }

                                                         catch(BatchUpdateException  bue)

                                                        {

                                                               logger.error(bue.getMessage());

                                                        }

 

 

 

                                                       catch(SQLException sql)

                                                       {

                                                               logger.error(sql.exception);

                                                      }

 

 

0

Access Netezza using JDBC

Posted by vgss Aug 13, 2010

Hi,

 

  would any one please tell me how to get the list of SQLErrorCODES netezza  will return

 

Thx

0

Netezza SQL ERROR Codes

Posted by vgss Aug 10, 2010

Hi,

 

  I am trying to access Netezza from my JDBC code, would any one please tell me as where can I look for  NETEZZA SQL ERROR CODES

 

 

THX

vgss