Using wrong precision / scale in @Column silently doesn't creates table

Description

Using for example following code inside entity class:
@Column(scale=12, precision=2)
public BigDecimal getFoo() {
return foo;
}

causes that target table silency doesn't create, no error is thrown or message shown.
Moreover the Hibernate Entity manager still tries to persist new classes and then throws error. In such case the PG exception shows SQL statement without quoting marks on text.

Environment

Hibernate: 3.2.5GA
SUN Application Server 9.1
PostgreSQL 8.2

Properties used inside persistence.xml
<property name="hibernate.hbm2ddl.auto" value="update"/>
<property name="hibernate.dialect" value="org.hibernate.dialect.PostgreSQLDialect"/>

Out of Date

Assignee

Unassigned

Reporter

rsmoguraN

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Affects versions

Priority

Minor