Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JPQL Constructor Expression case when Enum Literal

 
Markus Schmider
Ranch Hand
Posts: 137
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

is it possible to use Enum Literals in a case when Expression?


is not valid (Wildfly 8.1 refuses to deploy the war)

 
Roel De Nijs
Sheriff
Posts: 10763
148
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Markus Schmider wrote:is not valid (Wildfly 8.1 refuses to deploy the war)

And which error / stack trace do you get?
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!