adam-bien.com adam-bien.com

Why It Is Impossible To Automatically Handle javax.persistence.OptimisticLockException

A field denoted with the javax.persistence.Version annotation represents the state of the database at read (select) time. At the end of transaction the actual value of the entity is compared with the current value in the database and the entity is only going to be written back to the database in case both values are matching. If both are not equal the update "fails" (no rows are going to be updated) and...

stevestedman.com stevestedman.com

End of DBCC Command Month

As the month of May comes to an end so does DBCC command month at SteveStedman.com. I didn’t cover all the DBCC Commands this month, but here is what I did have time to cover: May 1st - DBCC CheckAlloc May 2nd - DBCC CheckCatalog May 3rd - DBCC CheckConstraints May 4th - DBCC CheckDB May 5th - DBCC CheckFilegroup May 6th - DBCC CheckIdent May 7th - DBCC CheckTable May 8th - DBCC CleanTable May 9th - DBCC DBReIndex and the...