This week's book giveaway is in the Java 9 forum.
We're giving away four copies of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications and have Sander Mak & Paul Bakker on-line!
See this thread for details.
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

Is it possible to write update and insert statements using EJB-QL?  RSS feed

 
NareshAnkuskani Kumar
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please let me know weather EJB-QL is only for writing select statements.

Can we write update and insert statements using EJB-QL?
 
Ionut Bucurescu
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
With EJB 2.1(j2ee 1.4) only SELECT statements are allowed.
With EJB 3.0(j2ee 1.5) only SELECT, UPDATE and DELETE statements are allowed.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!