Questions tagged [mapping]

Corresponding every element of a given set to a unique element of another set or it may refer to a process of creating data element mappings between two distinct data models (objects)

In this context, mapping refers to the process of creating data element mappings between two distinct data models (objects).

When it refers to mapping in data integration, it is a set of source and target definitions linked by the transformation objects that define the rules for data transformation. Mappings represent the data flow between sources and targets.

Data mapping is typically used as a first step for a wide variety of data integration tasks such as:

  1. Data transformation or data mediation between a data source and a destination

  2. Identification of data relationships as part of data lineage analysis

  3. Replication of data between two entities with different key-value assignments

  4. Discovery of hidden sensitive data such as the last four digits social security number hidden in another user id as part of a data masking or de-identification project

  5. Consolidation of multiple databases into a single data base and identifying redundant columns of data for consolidation or elimination.

9739 questions
31
votes
4 answers

How do you map a "Map" in hibernate using annotations?

Using annotations how do you map a field in an entity which is a "Map" (Hashtable) of String to a given object? The object is annotated and instances of it are already stored in the hibernate databse. I've found the syntax for definging a map with a…
Omar Kooheji
  • 54,530
  • 68
  • 182
  • 238
31
votes
6 answers

Wifi Triangulation

What would be the best way to triangulate a wireless network passively. Are there tools available? Algorithms? Libraries? My goal would be to create a relative map of various objects that sends or receive signals using signal strength (DB's),…
Loki
  • 29,950
  • 9
  • 48
  • 62
30
votes
4 answers

JPA Map mapping

How can I map a Map in JPA without using Hibernate's classes?
Rafa de Castro
  • 2,474
  • 1
  • 24
  • 44
30
votes
18 answers

Entity data model designer won't open the edmx file

The strange thing is, it was working fine a few days ago. I added a new column to a table and was going to update the model through the designer and now it says "The Entity Data Model Designer is unable to display the file you requested. You can…
Legion
  • 3,922
  • 8
  • 51
  • 95
29
votes
2 answers

AutoMapper: What is the difference between ForMember() and ForPath()?

I am reading AutoMapper's ReverseMap() and I can not understand the difference between ForMember() and ForPath(). Implementations was described here. In my experience I achieved with ForMember(). See the following code where I have configured…
Adam Shakhabov
  • 1,194
  • 2
  • 14
  • 35
28
votes
7 answers

Can't change local TFS 2010 paths

Running VS 2010, I want to now build on TFS 2010. In Team Explorer, I change my connection from our old TFS 2008 build server to our new TFS 2010 server. Now I want to map my source control from the old local directory (C:\TFS) to new directory…
Kevin
  • 281
  • 1
  • 3
  • 4
28
votes
1 answer

"Invalid Index n for this SqlParameterCollection with Count=n" OR "foreign key cannot be null"

I have been successfully using NHibernate for quite some time now and have been able to solve a lot of pitfalls with an application that I developed with it and that is running in production. The recent hurdle really has me scratching my head,…
Fedor Alexander Steeman
  • 1,561
  • 3
  • 23
  • 47
28
votes
2 answers

AutoMapper generic mapping

I have searched on Stack Overflow and googled about it but I haven't been able to find any help or suggestion on this. I have a class like the following which create a PagedList object and also uses AutoMappper to map types from source to…
Lorenzo
  • 29,081
  • 49
  • 125
  • 222
27
votes
2 answers

How to share common column names in a Table per Hierarchy (TPH) mapping

I'm using Entity Framework 4 CTP5 code first approach and I have a Table per Hierarchy (TPH) mapping. Some of my classes in the hierarchy have properties in common. public class BaseType { public int Id { get; set; } } public class A :…
Sandor Drieënhuizen
  • 6,310
  • 5
  • 37
  • 80
27
votes
1 answer

Nested type in Elasticsearch: "object mapping can't be changed from nested to non-nested" when indexing a document

I try to index some nested documents into an Elasticsearch (v2.3.1) mapping which looks as follows (based on this example from the documentation): PUT /my_index { "mappings": { "blogpost": { "properties": { "title": { "type":…
Dirk
  • 9,381
  • 17
  • 70
  • 98
27
votes
7 answers

How to create map in c++ and be able to search for function and call it?

I'm trying to create a map of string and method in C++, but I don't know how to do it. I would like to do something like that (pseudocode): map mapping = { "sin", Math::sinFunc, "cos", Math::cosFunc, ... }; ... string…
user360872
  • 1,261
  • 4
  • 15
  • 15
27
votes
3 answers

How to configure Automapper to automatically ignore properties with ReadOnly attribute?

Context: Let's say I have the following "destination" class: public class Destination { public String WritableProperty { get; set; } public String ReadOnlyProperty { get; set; } } and a "source" class with the ReadOnly attribute on one of…
Deilan
  • 4,740
  • 3
  • 39
  • 52
26
votes
4 answers

Inheritance Mapping with Fluent NHibernate

Given the following scenario, I want map the type hierarchy to the database schema using Fluent NHibernate. I am using NHibernate 2.0 Type Hierarchy public abstract class Item { public virtual int ItemId { get; set; } public virtual string…
Jim
26
votes
8 answers

How to map collections in Dozer

I'd like to do something like: ArrayList objects = new ArrayList(); ... DozerBeanMapper MAPPER = new DozerBeanMapper(); ... ArrayList newObjects = MAPPER.map(objects, ...); Assuming:
Stephane Grenier
  • 15,527
  • 38
  • 117
  • 192
25
votes
2 answers

Entity Framework Code First List Property Mapping

I am working with Entity Framework Code first. I have a simple model: public class Variable { public string Name { get; set; } public int Id { get; set; } public IList TextOptions { get; set; } } I ran…
Mike Bynum
  • 763
  • 2
  • 10
  • 22