nimo stephan created HIBERNATE-169:
--------------------------------------
Summary: provide better error log for BigDecimal when creating column failed
Key: HIBERNATE-169
URL:
https://issues.jboss.org/browse/HIBERNATE-169
Project: Hibernate Integration
Issue Type: Enhancement
Reporter: nimo stephan
Assignee: Steve Ebersole
Steps to reproduce:
Create a column
{code:java}
@Column(name = "price", precision = 7, scale = 10)
private BigDecimal price;
{code}
and run the schema generation.
Schema generation by Hibernate failed without pointing to the error.
In this case the precision is lower than the scale, which is not right, hence the schema
generation failed. Please provide better error logging, for example:
{code:java}
"Schema generation failed: field "price" the precision must be not lower
than the scale"
{code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)