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

c++ - list<myClass<int> * > sort -

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

java - why am i getting a "cannot resolve method" error on getApplication? -