java ee - EclipseLink @OneToMany relationship size JPQL exception -


i try deploy java ee application has been working fine on wildly/hibernate glassfish/eclipselink , i'm getting such error:

problem compiling [delete providerservice ps :work_station member of ps.workstations , ps.workstations.size = 1]. [81, 101] state field path 'ps.workstations.size' cannot resolved valid type.  81, 101] state field path 'ps.workstations.size' cannot resolved valid type. 

is there possibility run glass fish hibernate? , if how configure such thing in build.gradle.

i'am using in build.gradle conditional selection of wildfly remote/wildfly embedded testing arquillian (works ok), , adding glassfish remote/glassfish embedded here couldn't compile there such error above. receive this:

    arquillianservletrunner not found. not determine contextroot protocolmetadata, please contact deployablecontainer developer. java.lang.illegalargumentexception: arquillianservletrunner not found. not determine contextroot protocolmetadata, please contact deployablecontainer developer.     @ org.jboss.arquillian.protocol.servlet.servletutil.determinebaseuri 

the jpql invalid. jpql defined jpa spec , portability have stick correct syntax. in case there function "size". should be

delete providerservice ps :work_station member of ps.workstations , size(ps.workstations) = 1 

Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -