Closed GoogleCodeExporter closed 9 years ago
@Table(extend=X.class)
class Y{
}
class X extends DAO<Y>{
}
then the generated DAO will be:
class _X extends X{
....
}
if I add the mentioned static method to _X,
then you need to do:
final X x = _X.create(dataSource);
i.e you are directly referencing the generated class _X in your source. I think
it would be bad idea to use generated class _X directly in the code.
what is your opinion?
Original comment by santhosh.tekuri@gmail.com
on 5 Jun 2011 at 5:06
You're right. That would not be an improvement... As a convenience method,
it's nice to have, but it has to be added to the "extend" class.
Original comment by eire...@gmail.com
on 6 Jun 2011 at 10:00
Original comment by santhosh.tekuri@gmail.com
on 11 Jun 2011 at 5:28
Original issue reported on code.google.com by
eire...@gmail.com
on 3 Jun 2011 at 6:54