EJB对postgres insert 时
如果query.setPra有Date,要设置TemporalType.DATE
例如:
如果不加,就会抛异常:
ERROR: column "slip_date" is of type date but expression is of type bytea
EJB对postgres insert 时
如果query.setPra有Date,要设置TemporalType.DATE
例如:
如果不加,就会抛异常:
ERROR: column "slip_date" is of type date but expression is of type bytea