1 21 22 package org.opensubsystems.patterns.listdata.persist.db; 23 24 import java.util.List ; 25 26 import org.opensubsystems.core.error.OSSException; 27 import org.opensubsystems.core.persist.db.DatabaseImpl; 28 import org.opensubsystems.patterns.listdata.data.ListOptions; 29 30 39 public class MSSQLListDatabaseUtils extends ListDatabaseUtils 40 { 41 43 46 public MSSQLListDatabaseUtils() 47 { 48 super(); 49 } 50 51 53 56 public List getObjectList( 57 ListOptions options, 58 String query, 59 ListDatabaseFactory factory, 60 ListDatabaseSchema schema 61 ) throws OSSException 62 { 63 return super.getObjectList(options, query, factory, schema); 66 67 232 233 395 } 396 397 400 protected String preprocessSelectQuery( 401 String inputQuery, 402 ListOptions options, 403 ListDatabaseSchema schema 404 ) throws OSSException 405 { 406 if (DatabaseImpl.getInstance().hasSelectListRangeSupport()) 409 { 410 return super.preprocessSelectQuery(inputQuery, options, schema); 413 414 547 548 698 699 722 } 723 else 724 { 725 return super.preprocessSelectQuery(inputQuery, options, schema); 728 } 729 } 730 } 731 | Popular Tags |