New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: missing FROM-clause entry for table "jv_commit_pk_seq" #344

Closed
dvbeato opened this Issue Mar 2, 2016 · 5 comments

Comments

Projects
None yet
2 participants
@dvbeato

dvbeato commented Mar 2, 2016

I'm getting this error using @JaversAuditable in my update method.

INSERT INTO jv_commit(author, commit_date, commit_id, commit_pk) VALUES(:author, :commit_date, :commit_id, :commit_pk)] with root cause
org.postgresql.util.PSQLException: ERROR: missing FROM-clause entry for table "jv_commit_pk_seq"
Position: 8

@bartoszwalacik

This comment has been minimized.

Member

bartoszwalacik commented Mar 2, 2016

did you set proper sql dialect? (to PostgreSQL)

@bartoszwalacik

This comment has been minimized.

Member

bartoszwalacik commented Mar 2, 2016

answered on gitter

@bartoszwalacik bartoszwalacik reopened this Mar 3, 2016

@bartoszwalacik bartoszwalacik added bug and removed question labels Mar 3, 2016

@bartoszwalacik bartoszwalacik self-assigned this Mar 3, 2016

@dvbeato

This comment has been minimized.

dvbeato commented Mar 3, 2016

It works if you explicit set the database on your application.properties/yml spring.jpa.database=POSTGRESQL

@bartoszwalacik

This comment has been minimized.

Member

bartoszwalacik commented Mar 3, 2016

setting spring.jpa.database=POSTGRESQL
it is ok as a quick workaround, but we can think out sth smarter...

bartoszwalacik added a commit that referenced this issue Mar 3, 2016

@bartoszwalacik

This comment has been minimized.

Member

bartoszwalacik commented Mar 4, 2016

fixed in JaVers 1.5.1 (no additional properties needed)

@bartoszwalacik bartoszwalacik added the fixed label Mar 4, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment