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
Post a Comment