Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Query regarding namedQuery  RSS feed

 
Philip Zac
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all ranchers,

As far as I know, there is select statement in the namedQuery. Is there update, delete or other similar statement in namedQuery???

I hope you understand what I mean.

Thanks Anyway.

Philip
 
Mark Spritzler
ranger
Sheriff
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes there are annotations for that, but not as Named Queries, they have their own annotation. I think they are @Insert, etc above the class.

Mark
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!