arthurn
arthurn
  • Najlepsze
  • Wszystkie komentarze
s.....a
s.....a
@arthurn: a spróbuj Entity(name = "account")
rykukuku
rykukuku
... from Account ... Nazwa encji domyślnie jest taka jak klasy.
badAttitude
@arthurn
Daj account z dużej w named query
badAttitude
@arthurn Zmień na id
badAttitude
@arthurn i poczytaj o jpql ( ͡° ͜ʖ ͡°)
arthurn
arthurn
arthurn Autor
1
@badAttitude: dziękuję
arthurn
arthurn
arthurn Autor
0
dodam jeszcze że poprzez CrudRepository i funkcje save ładnie zapisuje do bazy danych;
arthurn
arthurn
arthurn Autor
0
@slucham-psa-jak-gra: to samo nadal
arthurn
arthurn
arthurn Autor
0
@badAttitude: org.hibernate.QueryException: could not resolve property: accountid of: com.example.leave.entity.Account [select max(a.accountid) from com.example.leave.entity.Account a]