Skip to content

Implicit conversion from BigInteger to Long #3792

Answered by filiphr
andreiyusupau asked this question in Q&A
Discussion options

You must be logged in to vote

@andreiyusupau have you looked into the Mapper#typeConversionPolicy? This one provides a way to generate a compile warning or error if there is a potential lossy conversion such is converting from BigInteger to long.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@andreiyusupau
Comment options

@filiphr
Comment options

Answer selected by andreiyusupau
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants