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 ?
@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
Post a Comment