HSQLDB dialect : wrong type in generated DDL for BigDecimal
-----------------------------------------------------------
Key: HHH-6584
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-6584
Project: Hibernate Core
Issue Type: Bug
Components: annotations
Affects Versions: 3.3.1
Reporter: Vianney Carel
Attachments: Invoice.zip
Hi,
I get a wrong column type in the generated DDL when using the @Column annotation for a
BigDecimal property.
My Java code:
@Column
public BigDecimal getAmount()
{
return amount;
}
The generated table creation instruction :
create table inv_invoice (id bigint not null, amount numeric, primary key (id))
The generated type should be "decimal" (with optionaly precision and scale) and
not "numeric".
Thanks,
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira