ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Huy <huym...@swiftdsl.com.au>
Subject ParameterClass advice
Date Mon, 23 May 2005 13:44:29 GMT
Hi,

Just after some advice on whether or not it's a good/common practice to 
use domain objects for parameterClass especially when you start 
introducing parameter attributes into the domain object which are just 
solely used for queries.

eg.

public class Sale {
    Date saleDate;   // used for both queries and business logic
    Date frSaleDate; // only used for queries
    Date toSaleDate; // only used for queries
}


Regards,

Huy

Mime
View raw message