I开发者_JAVA技巧n SQL Profiler you can see that very simple updates to a table by primary key take about 10-30ms each. On about every 10th update the write column shows 1, on all other updates it show
I\'m trying to use the System.IO.Log features to build a recoverable transaction system. I understand it to be implemented on top of the Common Log File System.
I know that LINQ to SQL automatically wraps all changes in a database transaction. So if I wanted to use the returned ID f开发者_开发技巧or another insert (my user table has an AddressID, so I add a n
I am helping a startup business to launch and I will be building or finding a shopping cart software for its website. There will only be one product for sale, but anytime someone buys a product, I hav
I have a simple method (used in a web application through servlets) that gets a connection from a JNDI name and issues a select statement (get connection, issue select, return result, close the connec
FOR ANYONE INTERESTED: I have implemented the code for the behaviour I am looking for and open-sourced it on google-code. Get it here! pojo-mvcc
I am trying to use 2 persistence units within the same transaction in a Java EE application deployed on Glassfish.
I have a pattern that I almost always follow, where if I need to wrap up an operation in a transaction, I do this:
I need a confirmation. Client 1 insert rows in a table inside a transaction. Client 2 request this table with a SELECT. If on this client isolation level is set to READ COMMITTED, can you confirm th
I\'m curious if following code would be considered safe? using (SqlConnection cn = new SqlClient.SqlConnection(connectionString))