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

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

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -