create table ttt (c char not null);
alter table ttt add constraint PK_TTT primary key (c);
alter table ttt drop constraint PK_TTT;
UCanAccess>UCAExc:::4.0.4 java.lang.UnsupportedOperationException: DROP CONSTRAINT is only supported for Hibernate hbm2ddl.auto "create"
Cheers,
Mick.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Oh that's right, sorry. I implemented DROP CONSTRAINT for Hibernate support but it was a bit of a hack (didn't clean up after itself) so I put in the extra check to restrict its usage.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Are there any plans to implement more DDL statements? In particular:
Cheers,
Mick.
Last edit: Mick Francis 2019-05-07
does work in UCanAccess 4.0.4. Perhaps it just didn't get added to the documentation.
I get the following in 4.0.4:
Cheers,
Mick.
Oh that's right, sorry. I implemented DROP CONSTRAINT for Hibernate support but it was a bit of a hack (didn't clean up after itself) so I put in the extra check to restrict its usage.
Hi, will this get fixed?
I still receive this error - also with 5.0.1.
Or is there any workaround?
Regards - Ingrid