org.springframework.dao.DataIntegrityViolationException
while adding some data to 开发者_StackOverflow社区table from jsp, only one row of data gets inserted
Also an org.springframework.dao.DataIntegrityViolationException
is thrown.
Can you say why this exception is raised?
The exception is in most cases about database constraint violation. - In your case I would guess it is some unique constraint - but this is only guessing.
精彩评论