Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Records not getting inserted under heavy volume

Author  Topic 

manojdp
Starting Member

3 Posts

Posted - 2009-11-25 : 06:20:10
Hi,
I am facing problem that occassionally a few records are getting skipped when inserts are taking place under heavy load.
I am not getting any exception. I am using J2EE on Pramati and Hibernate.
Has anyone faced a similiar problem?

GhantaBro
Posting Yak Master

215 Posts

Posted - 2009-11-25 : 14:19:30
How are you inserting the records?
Go to Top of Page

manojdp
Starting Member

3 Posts

Posted - 2009-11-26 : 04:37:33
Hi,
We are using Hibernate for inserting records and committing the session.
All of a sudden a few records are getting skipped
Go to Top of Page

rajdaksha
Aged Yak Warrior

595 Posts

Posted - 2009-11-26 : 04:54:46
Hi

Did you used any SQL script there, Pls post.

Apart From
Pls check the Hibernate configuration like Generator(primary key)


-------------------------
R...
Go to Top of Page

manojdp
Starting Member

3 Posts

Posted - 2009-12-07 : 07:58:41
No, we have not used any SQL Script and Generator(Primary key) in Hibernate
Go to Top of Page

rajdaksha
Aged Yak Warrior

595 Posts

Posted - 2009-12-07 : 08:12:27
Hi

If you don't use SQL code means you need to post some J2ee forum.

This only for SQL SERVER.

Any way
1. Please check the skipped records to ensure that those records are duplicates
2. Second think if you using Hibernate you need to create primary key(generator)


-------------------------
R...
Go to Top of Page
   

- Advertisement -