Re: Inner enum cannot be used as literal in JPQL

2014-01-06 Thread twelveeighty
he path in >> > question >> > with an identification variable from your FROM clause? >> > >> > My version: OpenJPA 2.3.0-nonfinal-1540826 >> > >> > However, if I take FooType and define it as its own Enum class >> > (com.myorg.jpa.FooType) the

Re: Inner enum cannot be used as literal in JPQL

2014-01-06 Thread Rick Curtis
6 > > > > However, if I take FooType and define it as its own Enum class > > (com.myorg.jpa.FooType) the literal com.myorg.jpa.FooType.BAR works as > > expected. > > > > Should I log a bug for this? > > > > > > > > > > -- > > View this message in context: > > > http://openjpa.208410.n2.nabble.com/Inner-enum-cannot-be-used-as-literal-in-JPQL-tp7585806.html > > Sent from the OpenJPA Users mailing list archive at Nabble.com. > > > -- *Rick Curtis*

Re: Inner enum cannot be used as literal in JPQL

2014-01-06 Thread Kevin Sutter
own Enum class > (com.myorg.jpa.FooType) the literal com.myorg.jpa.FooType.BAR works as > expected. > > Should I log a bug for this? > > > > > -- > View this message in context: > http://openjpa.208410.n2.nabble.com/Inner-enum-cannot-be-used-as-literal-in-JPQL-tp7585806.html > Sent from the OpenJPA Users mailing list archive at Nabble.com. >

Inner enum cannot be used as literal in JPQL

2014-01-04 Thread twelveeighty
ge in context: http://openjpa.208410.n2.nabble.com/Inner-enum-cannot-be-used-as-literal-in-JPQL-tp7585806.html Sent from the OpenJPA Users mailing list archive at Nabble.com.