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.
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"/>