Questions tagged [data-access]

Data access typically refers to software and activities related to storing, retrieving, or acting on data housed in a database or other repository.

Data Access is simply the authorization you have to access different data files. Data access can help distinguish the abilities of Administrators and users. E.g. Admins may be able to remove, edit and add data, while a general user may not be able as they don’t have the access to that particular file.

327 questions
3
votes
4 answers

C++ Accessing the Heap

This problem involved me not knowing enough of C++. I am trying to access a specific value that I had placed in the Heap, but I'm unsure of how to access it. In my problem, I had placed a value in a heap from a data member function in an object, and…
Baxter
3
votes
4 answers

What is the Java equivalent of .NET's Enterprise Library?

I am a .NET guy but recently have been placed on a Java project. Is there a java equivalent of .NET's Enterprise Library? More specifically, I only need a configuration manager, data access helper (parametrization and sanitize), and maybe a…
Haoest
  • 13,610
  • 29
  • 89
  • 105
3
votes
6 answers

Are there existing data layers I can use for an application I'm building?

I'm writing a .NET application and the thought of implementing a data layer from scratch is icky to me. (By data layer I'm referring to the code that talks to the database, not the layer which abstracts the database access into domain objects…
Howiecamp
  • 2,981
  • 6
  • 38
  • 59
3
votes
4 answers

Is it really such a bad idea to use webservices to wrap data-access layer?

I am not convinced - I think it might be useful to expose your data to different consumers that can build their front-end apps on top of your webservice. Can someone provide samples of when using web-services to wrap data-access layer is a bad…
JohnIdol
  • 48,899
  • 61
  • 158
  • 242
3
votes
1 answer

A good(elegant) way to retrieve records with counts

Context: ASP.NET MVC 2.0, C#, SQL Server 2008, IIS7 I have 'scheduledMeetings' table in the database. There is a one-to-many relationship: scheduledMeeting -> meetingRegistration So that you could have 10 people registered for a…
THX-1138
  • 21,316
  • 26
  • 96
  • 160
3
votes
5 answers

How in .Net do I Import Values from a CSV in the format I want using OleDB?

I have a CSV file that has a column that contains strings that look like integers. That is they should be dealt with as strings, but since they are numbers they appear to be imported as integers (dropping off the leading zeroes). Example…
ChrisHDog
  • 4,473
  • 8
  • 51
  • 77
3
votes
1 answer

How to handle authenticated user access to resources in document oriented system?

I'm developing a document oriented application and need to manage user access to the documents. I have a module that handles user authentication, and another module that handles document CRUD operations on the data store. Once a user is…
Jeremy Raymond
  • 5,817
  • 3
  • 31
  • 33
3
votes
3 answers

JAVA Swing client, Data Access to Remote Database; Ibatis

I've got a Java client that needs to access a remote database. It is the goal to hide database credentials from the user and not hardcode any credentials within the code. Therefore, the database access will probably have to be on the server…
poezn
  • 4,009
  • 4
  • 25
  • 27
3
votes
1 answer

Silverlight data access

I'm working on a silverlight reporting tool which draws up all sorts of fancy graphs based on client data. The issue I'm having right now is a good way to get all the data I need from the database to my silverlight app. Sofar I have a web service…
Buddy Lee
  • 376
  • 2
  • 13
3
votes
5 answers

Automatic Data Access Layer

I'm fundamentally sick of writing data access layers. I see it as a boring and pointless endeavour. I envisage a development environment where I can just create my Entities/Models and start building the application. The time taken to write the DAL,…
grenade
  • 31,451
  • 23
  • 97
  • 126
3
votes
2 answers

Java EE 5 and Hibernate

Which version of Hibernate can I use with Java EE 5? Can I use the latest version?
Robert
  • 1,638
  • 7
  • 34
  • 45
3
votes
3 answers

Outer Variable Access in PHP Class

Consider the following situation file: ./include/functions/table-config.php containing: . . $tablePages = 'orweb_pages'; . . file: ./include/classes/uri-resolve.php containing: class URIResolve { . . $category = null ; . . function process_uri()…
OrangeRind
  • 4,798
  • 13
  • 45
  • 57
2
votes
1 answer

Handle the DataContext in EntityFramework 4.0

Is there any "best practice" on how to handle the Datacontext in Entity Framework 4? Currently, I'm doing something like this in every window: public class MyWindow() { MyEntities() _entities; MyWindow() { _entities = new…
SeToY
  • 5,777
  • 12
  • 54
  • 94
2
votes
2 answers

Accessing the same SQL Server database from 2 client applications can't achieved

I've developed a C# Linq to SQL accounting program. It has an SQL Server 2008 Express Edition. The program worked fine for one client, but when I tried to create a second client on another computer, although I have enabled remote access for the DB,…
2
votes
1 answer

Passing user information down to data access

I'm working on a desktop application that has generated code for database access and uses static objects for user identification. Now we need to expose some of the logic by webservice and we are looking for the least intrusive form to push the user…
João Passos
  • 181
  • 2
  • 12