Skip to content
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
Closed

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

dvbeato opened this issue Mar 2, 2016 · 5 comments
Assignees

Comments

@dvbeato
Copy link

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
Copy link
Member

did you set proper sql dialect? (to PostgreSQL)

@bartoszwalacik
Copy link
Member

answered on gitter

@dvbeato
Copy link
Author

dvbeato commented Mar 3, 2016

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

@bartoszwalacik
Copy link
Member

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

@bartoszwalacik
Copy link
Member

fixed in JaVers 1.5.1 (no additional properties needed)

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

No branches or pull requests

2 participants