小女子遇到问题:SQL语句只调用一次,却重复执行多次!
客户现场出现一个问题,我在Java代码中只调用了一次SQL,正常情况下执行一次,跟踪日志中打出一行sql语句就完了;现在问题是跟踪日志中重复不断的打出sql语句,不知道成功执行了几次。跟踪日志贴出来如下:
2014-03-07 02:01:27,096 INFO - [1093]NAV Write WQ SQL=INSERT INTO WQ_INFO (QueueUID,Source_type,local_entry_UID,Parent_HUID,Entry_Name,Entry_type,Operation_type,Operation_time) VALUES ( N'W14394667',2, N'0', N'0', N'0',5,99,'2014-03-07 02:01:27')
2014-03-07 02:01:27,096 INFO - [1093]Execute Result=1
2014-03-07 02:01:27,518 INFO - [1093]NAV Write WQ SQL=INSERT INTO WQ_INFO (QueueUID,Source_type,local_entry_UID,Parent_HUID,Entry_Name,Entry_type,Operation_type,Operation_time) VALUES ( N'W14394668',2, N'0', N'0', N'0',5,99,'2014-03-07 02:01:27')
2014-03-07 02:01:27,533 INFO - [1093]Execute Result=1
2014-03-07 02:01:27,861 INFO - [1093]NAV Write WQ SQL=INSERT INTO WQ_INFO (QueueUID,Source_type,local_entry_UID,Parent_HUID,Entry_Name,Entry_type,Operation_type,Operation_time) VALUES ( N'W14394669',2, N'0', N'0', N'0',5,99,'2014-03-07 02:01:27')
2014-03-07 02:01:27,861 INFO - [1093]Execute Result=1
2014-03-07 02:01:28,252 INFO - [1093]NAV Write WQ SQL=INSERT INTO WQ_INFO (QueueUID,Source_type,local_entry_UID,Parent_HUID,Entry_Name,Entry_type,Operation_type,Operation_time) VALUES ( N'W14394670',2, N'0', N'0', N'0',5,99,'2014-03-07 02:01:28')
2014-03-07 02:01:28,252 INFO - [1093]Execute Result=1
2014-03-07 02:01:28,565 INFO - [1093]NAV Write WQ SQL=INSERT INTO WQ_INFO (QueueUID,Source_type,local_entry_UID,Parent_HUID,Entry_Name,Entry_type,Operation_type,Operation_time) VALUES ( N'W14394671',2, N'0', N'0', N'0',5,99,'2014-03-07 02:01:28')
2014-03-07 02:01:28,565 INFO - [1093]Execute Result=1
2014-03-07 02:01:28,940 INFO - [1093]NAV Write WQ SQL=INSERT INTO WQ_INFO (QueueUID,Source_type,local_entry_UID,Parent_HUID,Entry_Name,Entry_type,Operation_type,Operation_time) VALUES ( N'W14394672',2, N'0', N'0', N'0',5,99,'2014-03-07 02:01:28')
2014-03-07 02:01:28,940 INFO - [1093]Execute Result=1
2014-03-07 02:01:29,221 INFO - [1093]NAV Write WQ SQL=INSERT INTO WQ_INFO (QueueUID,Source_type,local_entry_UID,Parent_HUID,Entry_Name,Entry_type,Operation_type,Operation_time) VALUES ( N'W14394673',2, N'0', N'0', N'0',5,99,'2014-03-07 02:01:29')
2014-03-07 02:01:29,221 INFO - [1093]Execute Result=1
2014-03-07 02:01:29,471 INFO - [1093]NAV Write WQ SQL=INSERT INTO WQ_INFO (QueueUID,Source_type,local_entry_UID,Parent_HUID,Entry_Name,Entry_type,Operation_type,Operation_time) VALUES ( N'W14394674',2, N'0', N'0', N'0',5,99,'2014-03-07 02:01:29')
2014-03-07 02:01:29,486 INFO - [1093]Execute Result=1
2014-03-07 02:01:32,580 INFO - [1093]NAV Write WQ SQL=INSERT INTO WQ_INFO (QueueUID,Source_type,local_entry_UID,Parent_HUID,Entry_Name,Entry_type,Operation_type,Operation_time) VALUES ( N'W14394675',2, N'0', N'0', N'0',5,99,'2014-03-07 02:01:32')
2014-03-07 02:01:32,580 I