I have table Structure Is like
USE [VmcSmppLogs76New]
GO
/****** Object: Table [dbo].[SMPP_BulkTransactionDetails] Script Date: 09/02/2013 10:48:26 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[SMPP_BulkTransactionDetails](
[TransactionDetailsID] [bigint] NOT NULL,
[TransactionID] [nvarchar](100) NULL,
[SenderID] [varchar](25) NULL,
[MobileNo] [varchar](50) NULL,
[UserID] [bigint] NULL,
[Message] [nvarchar](2000) NULL,
[UDH] [varchar](100) NULL,
[SMSNo] [int] NULL,
[MessageType] [int] NULL,
[Priority] [int] NULL,
[GatewayID] [int] NULL CONSTRAINT [DF_SMPP_BulkTransactionDetails2_GatewayID] DEFAULT ((1)),
[MessageStatus] [tinyint] NULL CONSTRAINT [DF_SMPP_BulkTransactionDetails2_MessageStatus] DEFAULT ((0)),
[OpMessageID] [varchar](100) NULL,
[SentOn] [datetime] NULL,
[DeliveredOn] [datetime] NULL,
[CreateDate] [datetime] NULL CONSTRAINT [DF_SMPP_BulkTransactionDetails2_CreateDate] DEFAULT (getdate()),
[ThreadID] [int] NULL CONSTRAINT [DF_SMPP_BulkTransactionDetails2_ThreadID] DEFAULT ((1)),
[status] [int] NOT NULL CONSTRAINT [DF_SMPP_BulkTransactionDetails2_status] DEFAULT ((1)),
[IsFlash] [int] NULL CONSTRAINT [DF_SMPP_BulkTransactionDetails2_IsFlash] DEFAULT ((0)),
[ErrorCode] [varchar](50) NULL CONSTRAINT [DF_SMPP_BulkTransactionDetails2_ErrorCode] DEFAULT ('000'),
[CAFId] [varchar](50) NULL,
[IMSI] [varchar](100) NULL,
CONSTRAINT [PK_SMPP_BulkTransactionDetails2] PRIMARY KEY CLUSTERED
(
[TransactionDetailsID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
SET ANSI_PADDING OFFIn the Above table when I insert millions of records then I got error
Java.SqlBatchUpdateException: Violation Of Primary KEY constraints ' PK_SMPP_Bulk TransactionDetails2' . Can not insert duplicate key in object 'dbo.SMPP_BulkTransactionDetals'.