Community
Participate
Working Groups
Given a DBWS SQL Operation with a build-statement: <dbws-builder> <properties> <property name="projectName">testSQL</property> <property name="driver">oracle.jdbc.OracleDriver</property> <property name="url">jdbc:oracle:thin:@localhost:1521:ORCL</property> <property name="username">user</property> <property name="password">password</property> <property name="platformClassname">org.eclipse.persistence.platform.database.oracle.Oracle10Platform</property> <property name="dataSource">jdbc/someDataSource</property> <property name="wsdlLocationURI">http://localhost:8080/testSQL/testSQL?wsdl</property> </properties> <sql name="tablewithpk" isCollection="true" returnType="testSQLType" > <statement><![CDATA[select id,name from simpletable]]></statement> <build-statement><![CDATA[select id,name from simpletable where 0=1]]></build-statement> </sql> </dbws-builder> The eclipselink-dbws-sessions.xml contains: <primary-project xsi:type="class">org.eclipse.persistence.sessions.Project</primary-project> It should contain: <primary-project xsi:type="xml">/META-INF/eclipselink-dbws-or.xml</primary-project>
Created attachment 181511 [details] add check for presence of build-statement's
Created attachment 181514 [details] add check for presence of build-statement's
fixed in SVN: 8389 Will backport to 2.1.3 once the 2.1 stream opens up (workaround is to manually edit the sessions.xml - see http://old.nabble.com/Re%3A-DBWS-output-format-p30029866.html)
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink