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)
mapping
3,161
questions with no upvoted or accepted answers
11
votes
4
answers
437
views
Avoiding creating duplicates for TImeline functionality in Spring
I am working on a Spring-MVC project, for which I am working currently on Timeline functionality. I have a basic infrastructure already in progress, but currently, I am dealing with mappings, and how ...
11
votes
2
answers
1k
views
Does RenderMonkey have a bug in TEXCOORD stream mapping for GLSL?
For clarity, I start with my question:
Is it possible to use (in the shader code) the custom attribute name which I set for the TEXCOORD usage in the (OpenGL) stream mapping in RenderMonkey 1.82 or ...
9
votes
1
answer
15k
views
Where does IIS store information about SSL certificate protocol mapping for each binding?
I understand that IIS stores binding information in applicationhost.config file. However, in that file it does not store such information which would tell which SSL certificate is bound to which ...
9
votes
1
answer
6k
views
Is is possible to inject a custom Jackson ObjectMapper in spring-data-mongodb?
We are using Coda Hale metrics in our application, with the Json module add-on to improve the JSON output of some REST services exposing the application metrics.
Recently, we started saving the ...
8
votes
1
answer
2k
views
Doctrine2 - Inheritance mapping, querying sub-classes
I have joined table inheritance (lets call it Action) and I need to get all records of Action that satisfy the condition, but the fields are in sub-classes ? Is there way to access sub-class fields ...
7
votes
1
answer
4k
views
Autocad .dwg to SVG to tiles for PolyMap, resulting in event floor plan
I am currently saving a .dwg file as .dxf, opening in Illustrator, saving as .svg, and then embedding it in an html document using Polymaps. The desired result is to have an event floor plan. The ...
6
votes
0
answers
706
views
Full dotted path (any level path) with path_match in dynamic_templates
I have this document
{
"text_foo": "lorem ipsum",
"one":{
"two":{
"three":{
"text_bar": "...
6
votes
1
answer
4k
views
Swift - Mapping of Nested Objects (Objectmapper)
I am developing an application with Swift 4. Where I make a call to the APIRest with Alamofire and I want to map the JSON response with Objectmapper. Well, the JSON that calls me back is the following:...
6
votes
0
answers
1k
views
Dozer mapping generic types
I want to map a data object to basically the same transport object using dozer. The objects contain a generic field. I expect the generic field to be mapped to the same type, in this example to be ...
6
votes
0
answers
2k
views
How to map ip:port to a new ip or a domain in mac
I am using macOS 10.12 and I want to do ip:port mapping
ex. 127.0.0.1:32769 to 10.0.0.1
then I can add 10.0.0.1 somedomain.com to my /etc/hosts
I did some search, and got solutions to this question ...
6
votes
0
answers
392
views
Does Intellij Idea persistence tool have a mapping file for converting database types to Java type?
I am trying to create hibernate Entity files for my tables in oracle database via persistence tool in Intellij IDEA. But tool maps Varchar2 types to java.lang.Object variable type instead of java.lang....
6
votes
2
answers
2k
views
EF randomly sees wrong property type
We're using EF code first with EF 6.1.3 and SimpleInjector 3.1.0 and we're randomly getting exceptions similar to this:
The 'IsDeleted' property on 'Location' could not be set to a 'System.Int32' ...
6
votes
0
answers
2k
views
Mapping POJOs to application/x-www-form-urlencoded with custom form keys
I'm using RoboSpice with Spring Android to perform REST api calls.
Data need to be sent with the Content-Type set to application/x-www-form-urlencoded.
Let's say I have a Pojo class like this:
...
6
votes
1
answer
2k
views
mapping complex class with NPOCO
Is it possible to map a complex class with both a nested class and a collection class with NPoco? I've had a look at the documentation but it's not 100% clear whether i can map to this class with one ...
6
votes
0
answers
16k
views
AutoMapper complex nested mappings
I've read this example on AutoMapper's GitHub, but the example assumes there'll only be one way to map InnerSource, ever:
Mapper.CreateMap<OuterSource, OuterDest>();
Mapper.CreateMap<...