How to configure spring boot jpa configurations for entities in intellij -


i have used spring boot , spring data jpa when created named query in entity see 'can't resolve symbol 'user'',i have tried in intellij..

how can resolve problem ?

picture

@entity @table(name = "users") @namedquery(name = "updaterole",query = "select u user u ") //that line public class user extends abstractpersistable{ @column(name = "user_name") private string username; @column(name = "password") private string password; @column(name = "first_name") 


Comments

Popular posts from this blog

javascript - Hide toolbar of pdf file opened inside iframe using firefox -

Ansible - ERROR! the field 'hosts' is required but was not set -

Copy range with conditional formatting -