overloading method in javabean causes bulkbean exception --------------------------------------------------------
Key: IBATIS-526 URL: https://issues.apache.org/jira/browse/IBATIS-526 Project: iBatis for Java Issue Type: Bug Components: SQL Maps Affects Versions: 2.3.3 Environment: jdk1.4, windows, websphere, oracle.Ibatis 2.3.3 jar Reporter: sharath I have this code since long time and it was working fine all these days like for 7 months but suddenly it started throwing Bulk Bean exception. Nothing has been changed in recent times. I removed one setter method and it started working fine but what i want know is how it was working all these days ? why it blown up today ? It would be great help if you have any clue about the behavior. Below is Java Bean with setAddressId Overloaded method and xml returns java.math.Decimal. private BigInteger addressId; public void setAddressId(BigInteger addressId) { this.addressId = addressId; } public void setAddressId(BigDecimal addressId) { this.addressId = (addressId == null ? null : addressId.toBigInteger()); } <selectKey keyProperty="addressId" resultClass="java.math.BigDecimal"> select CUST_ACCT_ADDR_ASSN_S.NEXTVAL as ID from DUAL </selectKey> -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.