Community
Participate
Working Groups
Normally DBWS processes the metadata for custom SQL stmts at run-time - the information is returned using SXF (the Simplified XML Format, very much like a rowset). If the WHERE clause can be reliably parsed, then at design-time an additional term (1=0) can be added to ensures that no 'real' data is returned but the ResultSet should have metadata from which an eclipselink-dbws-schema.xsd file can be built. (Alternatively, if the user is presented with a GUI, they can 'eye-ball' the correct place in the WHERE clause)
Created attachment 179673 [details] add support for design-time schema gen for SQLOperations
see SVN revision: 8268
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink