|Re: [eclipselink-users] descriptor.getQueryManager().setReadAllSQLString() doesn't work|
The read-all-sql overrides only a ReadAllQuery with no selectionCriteria, no orderBy, no joining, etc. What is the query that you are executing that you want overwritten? You may wish to use a named query for a specific query operation. Rodrigue Lagoue Njinthe wrote: > > Hi everybody! > > when setting the custom SQL query to use by reading all, eclipse link > ignores it and use always the default one. This not the case customizing > other CRUD queries... > > thanks for any help > ----- --- http://wiki.eclipse.org/User:James.sutherland.oracle.com James Sutherland http://www.eclipse.org/eclipselink/ EclipseLink , http://www.oracle.com/technology/products/ias/toplink/ TopLink Wiki: http://wiki.eclipse.org/EclipseLink EclipseLink , http://wiki.oracle.com/page/TopLink TopLink Forums: http://forums.oracle.com/forums/forum.jspa?forumID=48 TopLink , http://www.nabble.com/EclipseLink-f26430.html EclipseLink Book: http://en.wikibooks.org/wiki/Java_Persistence Java Persistence -- View this message in context: http://www.nabble.com/descriptor.getQueryManager%28%29.setReadAllSQLString%28%29-doesn%27t-work-tp21018199p21032896.html Sent from the EclipseLink - Users mailing list archive at Nabble.com.
Back to the top