Non-Repeatable Read vs Phantom Read?

From Wikipedia (which has great and detailed examples for this): A non-repeatable read occurs, when during the course of a transaction, a row is retrieved twice and the values within the row differ between reads. and A phantom read occurs when, in the course of a transaction, two identical queries are executed, and the collection … Read more

How to write a .Net application that works with both SqlServer and Oracle (now that System.Data.OracleClient is deprecated)

EDIT: The fully managed ODP.NET is now available in production. It is very small (less than 10MB) and is not dependent on other files. You can obtain it here: http://www.oracle.com/technetwork/topics/dotnet/downloads/index.html Original answer: One way to easily ensure that the required Oracle client side software (including ODP.NET) is always available on the deployment machine is to … Read more

How to store only time; not date and time?

You could try the INTERVAL DAY TO SECOND data type but it won’t save you any disk space … it is very suitable for this purpose though. create table t1 (time_of_day interval day (0) to second(0)); insert into t1 values (TO_DSINTERVAL(‘0 23:59:59’)); select date ‘2009-05-13’+time_of_day from t1; 11 bytes though.

Using Oracle XMLType column in hibernate

My Direction and Requirements Entity should store XML as a string (java.lang.String) Database should persist XML in an XDB.XMLType column Allows indexing and more efficient xpath/ExtractValue/xquery type queries Consolidate a dozen or so partial solutions I found over the last week Working Environment Oracle 11g r2 x64 Hibernate 4.1.x Java 1.7.x x64 Windows 7 Pro … Read more

techhipbettruvabetnorabahisbahis forumuedusedusedueduedusedusedusedueduedu