Created
January 29, 2015 14:32
-
-
Save amischler/99aeafc9c05bdd1a9d3a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class TestBigDecimalSerialization extends ModeShapeSingleUseTest { | |
public static class TestBean extends AbstractJcrEntity { | |
@JcrSerializedProperty | |
private BigDecimal bigDecimal; | |
public BigDecimal getBigDecimal() { | |
return bigDecimal; | |
} | |
public void setBigDecimal(BigDecimal bigDecimal) { | |
this.bigDecimal = bigDecimal; | |
} | |
} | |
@Test | |
public void testBigDecimalSerialization() { | |
Jcrom jcrom = new Jcrom(false, true); | |
jcrom.map(TestBean.class); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment