You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using:
Spring Session 1.3.1
Spring Security 4.3.2
Oracle 12g
I got an error, "Can not insert null SPRING_SESSION.SPRING_SESSION_PK". This can easily be resolved by adding a Sequence and a trigger for Oracle.
CREATE SEQUENCE "SPRING_SESSION_SEQ"
minvalue 1024
nomaxvalue
increment by 1
start with 1024
cache 1000
noorder
nocycle;
create or replace trigger SPRING_SESSION_TRG
before insert on SPRING_SESSION
for each row
when (new.PRIMARY_ID is null)
begin
select SPRING_SESSION_SEQ.nextval into :new.PRIMARY_ID from DUAL;
end;
@pminearo You are using Spring Session 1.3.1.RELEASE but it appears you are using schema script from the master branch. The primary_id column which causes your problems was introduced as a part of #835 and that functionality will be a part of the upcoming Spring Session 2.0.
Please make sure that you are using schema script contained within the Spring Session JAR you are using.
We are using:
Spring Session 1.3.1
Spring Security 4.3.2
Oracle 12g
I got an error, "Can not insert null SPRING_SESSION.SPRING_SESSION_PK". This can easily be resolved by adding a Sequence and a trigger for Oracle.
web.xml
applicationContext.xml
The text was updated successfully, but these errors were encountered: