Questions tagged [isolation]
258 questions
2
votes
0 answers
Old data in result from new hibernate session
I faced an issue that a process receives old data from newly-opened hibernate session whereas that data is updated by another process through committed transaction and closing session after that. If I connect to database directly I can see the…

agolubev81
- 41
- 4
2
votes
1 answer
AppDomain isolation
EDIT seems my original post below might have been a bit long.
Simply said, can I spawn some AppDomains and ensure that they cannot communicate with one another in any way?
There is a competitive robotic soccer simulation league called RoboCup 3D. …

Drew Noakes
- 300,895
- 165
- 679
- 742
2
votes
3 answers
Isolating Service Fabric ServiceContext for unit testing
I have a method in my Service fabric Stateless service application which get the configuration stored in Settings.xml from ServiceContext
public static string GetConnectionString()
{
if (context == null)
return string.Empty;
//…

Binu Vijayan
- 803
- 1
- 9
- 24
2
votes
2 answers
How to isolate a test from external service dependency in RSpec
Setup
In one of the controller actions we have an external service dependency like this:
def delete
@user = User.find(params[:id])
# Fail if the user is registered on SomeService
external = SomeService::Client.new(app_id: SOME_ID, api_key:…

Igor P
- 629
- 1
- 7
- 9
2
votes
0 answers
SQL Server Isolation Levels
This question may have been asked but from what I've read I still don't clearly understand what's happening. My question deals specifically with using the Read Uncommitted isolation level in SQL Server - via Entity Framework (i.e. setting the…

Peter
- 173
- 12
2
votes
1 answer
Handling transaction context using method attribute in linq to sql
Is there a way to just put an attribute to a method so that the whole code in the method is executed in a transaction scope? I've seen this done in sharp architecture but I'm using Linq to sql not nhibernate. Thanks!
This what I would like to…

ryudice
- 36,476
- 32
- 115
- 163
2
votes
1 answer
Select using Read Committed, clarify please
http://www.postgresql.org/docs/9.1/static/transaction-iso.html
The docs about Read Committed Isolation Level says
Read Committed is the default isolation level in PostgreSQL. When a transaction uses this isolation level, a SELECT query (without a…

MaxNevermind
- 2,784
- 2
- 25
- 31
2
votes
2 answers
SQL Server Delete Lock issue
I have a SQL Server database where I am deleting rows from three tables A,B,C in batches with some conditions through a SQL script scheduled in a SQL job. The job runs for 2 hours as the tables have a large amount of data. While the job is running,…

user3564942
- 21
- 1
- 2
2
votes
1 answer
Running multiple WebBrowsers independent of each other
I have a Windows application developed in C# 4.0 and I am using multiple WebBrowser controls in it where all the WebBrowsers load the same website URL and perform some kind of search by setting the search value in the textbox and clicking the search…

Anupam
- 1,821
- 3
- 23
- 41
2
votes
2 answers
How do online judge sites isolate program performance?
There are many online judge sites which can verify your program by comparing its output to the correct answers. What's more, they also check the running time to make sure that your program running time doesn't exceed the maximum limit.
So here is…

ZelluX
- 69,107
- 19
- 71
- 104
2
votes
2 answers
How to isolate java module execution in a seperated thread/classloader?
In my webservice application I have to integrate a third party module to validate business rules, these modules are shipped with rather old libraries.
The old libraries are in conflict with my newer one.
Is there a way to isolate the third party…

Alex
- 4,033
- 9
- 37
- 52
2
votes
1 answer
What happened to Java MVMs?
These are Multitasking Virtual Machines with very nice, high level (i.e. language level) isolation between untrusting components. The information I could find about them all dates back to around…

Li Haoyi
- 15,330
- 17
- 80
- 137
1
vote
1 answer
How to provide isolation?
I have a need to allow my users to execute .NET code that they provide on my server. I know security is a big concern, but it has to be done that way.
Currently, I run my users' code under a limited Windows account. But, I am worried that .NET…

user1044169
- 2,686
- 6
- 35
- 64
1
vote
2 answers
AppDomain.DoCallBack requires ReflectionPermission?
I have this class, instance of which I create in an AppDomain with no permissions but SecurityPermissionFlag.Execute:
class IsolationEntryPoint : MarshalByRefObject
{
// main is the original AppDomain with all the permissions
public void…

Matěj Zábský
- 16,909
- 15
- 69
- 114
1
vote
1 answer
How do I isolate unmanaged code crash in .Net Process
.Net Console Application depends on COM objects that tend to crash from time to time in very unpredictable way. Application simply closes with no reason at all: no logs, no exceptions (catch block doesn't work at all), no event logs, nothing about…

Andrew Florko
- 7,672
- 10
- 60
- 107