data-access Questions
9
Solved
I am doing a large project for the first time. I have lots of classes and some of them have public variables, some have private variables with setter and getter methods and same have both types.
I...
Timothytimour asked 18/1, 2013 at 13:26
2
Solved
I have stored medias (pictures and movies) in a folder (for example C:\test\tes.png) and I'm trying to access to pictures with an url like : http://localhost:8080/app/picture/test.png.
To do that, ...
Earplug asked 7/11, 2011 at 19:59
3
Well there is a similar topic about transaction script with NoSQL database, but this one is about the pattern in general. From what I find about Transaction script, it is not object-oriented at all...
Prevocalic asked 22/4, 2013 at 5:23
8
Solved
To implement data access code in our application we need some framework to wrap around jdbc (ORM is not our choice, because of scalability).
The coolest framework I used to work with is Spring-Jdb...
Penny asked 18/11, 2008 at 18:3
6
Solved
I have a method in rails that is doing something like this:
a = Foo.new("bar")
a.save
b = Foo.new("baz")
b.save
...
x = Foo.new("123", :parent_id => a.id)
x.save
...
z = Foo.new("zxy", :pare...
Syphilology asked 24/3, 2010 at 16:11
2
Solved
How do you explicitally tell EF that a table lies in a specific schema?
For example, the AdventureWorks database defines the Production.Product table. When using the OnModelCreating method, I use ...
Ec asked 9/6, 2011 at 11:9
2
Solved
I develop an application using Struts, Spring, and Hibernate.
My DAOs uses spring jdbc and all its method throws DataAccessException(that is uncheked).
Where should I handle this exceptions? I kn...
Qatar asked 20/5, 2012 at 11:35
8
Solved
Persistence ignorance is typically defined as the ability to persist & retrieve standard .NET objects (or POCOs if you really insist on giving them a name). And a seemingly well accepted defini...
Schmit asked 29/12, 2009 at 13:50
4
Solved
On the production server sometimes randomly the connection fails to the ORacle database. I get a lot of
Oracle.DataAccess.Client.OracleException
Pooled connection request timed out
at Oracle.Da...
Huda asked 3/12, 2013 at 13:38
2
Solved
I use ODP.NET and version 4.1 of the Enterprise Library, vs 2008. And all is OK.
Now, migrate using ODP.NET Oracle.DataAccess 4.112.2.0 and version 5.0.414.0 of the Enterprise Library, vs 2010, .n...
Korenblat asked 13/1, 2012 at 8:27
3
We're using the Oracle.DataAccess.dll assembly version 2.102.2.20 (32 bit).
I deployed our Web API application to IIS and tried openning and closing a connection:
private static void CheckConnec...
Kermis asked 2/7, 2013 at 12:22
12
Solved
Does anyone know a way to auto-generate database tables for a given class? I'm not looking for an entire persistence layer - I already have a data access solution I'm using, but I suddenly have to ...
Nimwegen asked 6/9, 2008 at 3:52
5
Solved
I have a stored procedure that has a bunch of input and output parameters because it is Inserting values to multiple tables. In some cases the stored proc only inserts to a single table (depending ...
Caecilian asked 16/7, 2010 at 17:47
2
Solved
Basic things as struct in C data types, exist in all popular languages, and is expected that functions, of these languages, also can return a struct... And, by an orthogonality principle, is expect...
Corpuscle asked 3/5, 2014 at 1:29
1
Solved
I am new to Oracle, so please be gentle...
I am querying an existing Oracle DB using C# and ODP11 in .NET 4. All procedures up to this point have been, well, painful to figure out at first, but mo...
Circumlocution asked 7/6, 2013 at 10:29
5
Solved
This might be on the "discussy" side, but I would really like to hear your view on this.
Previously I have often written data access classes that handled both reading and writing, which often led ...
Contrived asked 27/8, 2008 at 5:2
7
Traditionalist argue that stored procedures provide better security than if you use a Object Relational Mapping (ORM) framework such as NHibernate.
To counter that argument what are some approach...
Alundum asked 22/9, 2008 at 19:52
4
I am wondering what makes sense in relation to what objects to expose through a WCF service - should I add WCF Serialization specifications to my business entities or should I implement a converter...
Unmannerly asked 17/9, 2008 at 14:5
12
Solved
My question concerns c# and how to access Static members ... Well I don't really know how to explain it (which kind of is bad for a question isn't it?) I will just give you some sample code:
Class ...
Engineering asked 21/8, 2008 at 13:20
3
Solved
I have recently started reading about dependency injection and it has made me rethink some of my designs.
The problem i have is something like this:
Let's say i have two classes: Car and Passenger...
Quartermaster asked 29/3, 2012 at 9:54
3
I already have a layered data access design which works well. But i dont know if it is the most suitable implementation or not.
i simply want to know that BLL classes or methots should be static or...
Yul asked 5/1, 2012 at 14:45
16
Solved
I'm a bit scared to ask this question as it may start a religous war so I want to be really clear on what I'm looking for. I'm looking for a reason(s) why you would or have jumped one way or the ot...
Chaldron asked 19/2, 2009 at 2:52
2
Solved
Well in a web application a unit of work is responsible for the transaction management.
But what about a windows application?
As far as I know the repository is the connector between my data acc...
Oilcan asked 26/7, 2011 at 19:56
8
Solved
When I first started learning how to do Classic ASP, VBscript, and HTML someone told me to go out and purchase Dreamweaver because "it would make life easy" so I did that and it got me my first pro...
Euphuism asked 17/3, 2011 at 13:37
3
Solved
I'm working with large files in C# (can be up to 20%-40% of available memory) and I will only need small parts of the files to be loaded into memory at a time (like 1-2% of the file). I was thinkin...
Beestings asked 6/3, 2011 at 3:58
1 Next >
© 2022 - 2024 — McMap. All rights reserved.