Top "Mapping" questions

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)

Mapping object to dictionary and vice versa

Are there any elegant quick way to map object to a dictionary and vice versa? Example: IDictionary<string,object&…

c# .net dictionary reflection mapping
Mapping many-to-many association table with extra column(s)

My database contains 3 tables: User and Service entities have many-to-many relationship and are joined with the SERVICE_USER table as …

hibernate jpa mapping many-to-many jointable
Best Practices for mapping one object to another

My question is, what is the best way I can map one object to another in the most maintainable manner. …

c# design-patterns mapping
When do you use map vs flatMap in RxJava?

When do you use map vs flatMap in RxJava? Say, for example, we want to map Files containing JSON into …

java mapping rx-java flatmap
Mapping two integers to one, in a unique and deterministic way

Imagine two positive integers A and B. I want to combine these two into a single integer C. There can …

algorithm mapping integer deterministic math
How to force Hibernate to return dates as java.util.Date instead of Timestamp?

Situation: I have a persistable class with variable of java.util.Date type: import java.util.Date; @Entity @Table(name = "…

java hibernate jpa mapping
What is the best way to implement nested dictionaries?

I have a data structure which essentially amounts to a nested dictionary. Let's say it looks like this: {'new jersey': {…

python data-structures dictionary mapping autovivification
Entity framework code-first null foreign key

I have a User < Country model. A user belongs to a country, but may not belong to any (null …

entity-framework mapping ef-code-first foreign-key-relationship entity-framework-4.1
Elasticsearch : Root mapping definition has unsupported parameters index : not_analyzed

Hi all I am trying to create schema Test. PUT /test { "mappings": { "field1": { "type": "integer" }, "field2": { "type": "integer" }, "field3": { "type": "…

elasticsearch mapping
Convert from latitude, longitude to x, y

I want to convert GPS location (latitude, longitude) into x,y coordinates. I found many links about this topic and …

gps mapping geometry