[hibernate-issues] [Hibernate-JIRA] Created: (HHH-6584) HSQLDB dialect : wrong type in generated DDL for BigDecimal
Vianney Carel (JIRA)
noreply at atlassian.com
Wed Aug 17 11:27:02 EDT 2011
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
More information about the hibernate-issues
mailing list