Hibernate实体审计和hbm2ddl.auto =在h2和oracle中验证 [英] Hibernate Entity Auditing and hbm2ddl.auto=validate in h2 and oracle

查看:171
本文介绍了Hibernate实体审计和hbm2ddl.auto =在h2和oracle中验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

审计表的revtype列的模式验证出现问题

我将revtype列声明为数字(3)当我使用oracle数据库时,一切正常,但是当我切换到h2我有异常revtype


revtype列找到decimal decimal tinyint

I have a problem with schema validation of revtype column of audit tables
I have declared revtype column as number(3) everything is working fine when i'm using oracle database but when i'm switch to h2 i have exception revtype

revtype column found decimal expected tinyint


任何想法它如何在h2和oracle上运行?


Any ideas how can it works on h2 and oracle ?

推荐答案

这篇关于Hibernate实体审计和hbm2ddl.auto =在h2和oracle中验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆