当我试图将我的自定义支出对象映射到MySQL中的关系模型时,我得到错误: Initial SessionFactory creation failed.org.hibernate.MappingException: Could not determine type for: javax.money.MonetaryAmount, at table: Expenditure, for columns: [org.hibernate.mapping.Column(monetaryAmount)] 我的支出类:
我使用以下函数通过VTD- xml解析XML: final AutoPilot ap = new AutoPilot(vtdNav);int i = -1XPath */ <chargeOrAllowance>CHARGE</chargeOrAllowance>
<monetaryAmountcurrencyISOCode="USD"&g