question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

@Mapping("user.id") problem

See original GitHub issue

I using Dozer in my project with xml mapping but i want to used annotation and remove xml file this example show bug in annotation mapping after mapping to destination bean ,type of variable is changed from Integer to String

for example

public class User {
       private Integer id; 
}

public class UserBean {
       @Mapping("user.id")
       private Integer userId; 
}
userBean.getUserId()//is not Integer it is String

I think one of the dozer disadvantage is in annotation annotation is very simple and changeable

Issue Analytics

  • State:closed
  • Created 11 years ago
  • Comments:14 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
azizkhanicommented, Apr 2, 2018

why dozer team dose not solve this bug? I had to use xml instead of annotation because this bug dose not resolve yet? please

0reactions
garethahealycommented, Apr 2, 2018

@azizkhani ; the “dozer team” is currently me. i am not paid by anyone to work on this project, i do it in my own spare time. why dont you help, and work on the issue? like i said in the comment. this is not a simple change.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issue with User-ID mapping - LIVEcommunity - 316943
Solved: Currently in User-ID, one ip address is associated with three usernames. Two of which are the hostnames of the computer and not...
Read more >
User ID to IP mapping stopped or intermittent - Reddit
Hoping someone here can provide me some troubleshooting steps to help figure out why one of our offices user-id to ip mapping is...
Read more >
User Id mapping error | SAP Community
->User Mapping. I go to Everyone (Group) and the give the j2ee_user id and password and save. On saving i get the folllowing...
Read more >
Configuring user ID mapping - IBM
The following are the default user ID mapping settings: USEMAP(YES) — user ID ... A mapping is required, so the Identity Cache will...
Read more >
Error: "No mapping between account names and security IDs ...
The following error message appears when trying to enroll a user, unlock a user account, change or reset a password: "No mapping between...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found