CengSin / oracle

GORM oracle driver
Other
111 stars 43 forks source link

迁移问题 #11

Closed xiyichan closed 3 years ago

xiyichan commented 3 years ago

请问可以自动注册表吗?我测试的时候好像是不可以的

xiyichan commented 3 years ago

而且type怎么指定类型

CengSin commented 3 years ago

oracle版本12C+应该是可以主动注册表的,而且可以指定type。

xiyichan commented 3 years ago

是高于12C的版本吗?或者是我指定的type有错误? image 还有请问是不是不能用自增主键,谢谢大佬。

xiyichan commented 3 years ago

然后有什么问题,我可以参与开发进去。

CengSin commented 3 years ago

image fixed!如果需要主键自增需要加上autoIncrement

xiyichan commented 3 years ago

image 怎么我就不行..这么奇怪吗

CengSin commented 3 years ago

你更新一下mod

xiyichan commented 3 years ago

好像不可以大佬已经更oracle 的mod 但是还是1.0.0

CengSin commented 3 years ago

可以fork本仓库,然后克隆到本地,在mod文件中replace一下使用。

replace github.com/cengsin/oracle => repo local path
xiyichan commented 3 years ago

这不太好,我打包是在linux

xiyichan commented 3 years ago

我看了大佬的代码的修改..这是要让我自己现改现用吧哈哈哈。然后现在autoIncrement还是用不了。

CengSin commented 3 years ago

image autoincrement可用,你的oracle版本是什么

xiyichan commented 3 years ago

还真是别人装的版本不够高

xiyichan commented 3 years ago

大佬很强,如果有别的BUG我及时反馈,要上项目了。