ordering
This commit is contained in:
		| @@ -75,7 +75,7 @@ public class DoneGateway { | ||||
| 	 * @throws SQLException | ||||
| 	 */ | ||||
| 	public List<TProjectRecord> getAllProjects() throws DataAccessException, ClassNotFoundException, SQLException { | ||||
| 		return getJooq().selectFrom(T_PROJECT).fetchInto(TProjectRecord.class); | ||||
| 		return getJooq().selectFrom(T_PROJECT).orderBy(T_PROJECT.NAME).fetchInto(TProjectRecord.class); | ||||
| 	} | ||||
|  | ||||
| 	/** | ||||
| @@ -88,7 +88,7 @@ public class DoneGateway { | ||||
| 	 * @throws SQLException | ||||
| 	 */ | ||||
| 	public List<TModuleRecord> getAllModules() throws DataAccessException, ClassNotFoundException, SQLException { | ||||
| 		return getJooq().selectFrom(T_MODULE).fetchInto(TModuleRecord.class); | ||||
| 		return getJooq().selectFrom(T_MODULE).orderBy(T_MODULE.NAME).fetchInto(TModuleRecord.class); | ||||
| 	} | ||||
|  | ||||
| 	/** | ||||
| @@ -101,7 +101,7 @@ public class DoneGateway { | ||||
| 	 * @throws SQLException | ||||
| 	 */ | ||||
| 	public List<TJobRecord> getAllJobs() throws DataAccessException, ClassNotFoundException, SQLException { | ||||
| 		return getJooq().selectFrom(T_JOB).fetchInto(TJobRecord.class); | ||||
| 		return getJooq().selectFrom(T_JOB).orderBy(T_JOB.NAME).fetchInto(TJobRecord.class); | ||||
| 	} | ||||
|  | ||||
| 	/** | ||||
| @@ -114,7 +114,7 @@ public class DoneGateway { | ||||
| 	 * @throws SQLException | ||||
| 	 */ | ||||
| 	public List<TBillingRecord> getAllBillings() throws DataAccessException, ClassNotFoundException, SQLException { | ||||
| 		return getJooq().selectFrom(T_BILLING).fetchInto(TBillingRecord.class); | ||||
| 		return getJooq().selectFrom(T_BILLING).orderBy(T_BILLING.NAME).fetchInto(TBillingRecord.class); | ||||
| 	} | ||||
|  | ||||
| 	/** | ||||
|   | ||||
		Reference in New Issue
	
	Block a user