Quote:
eh - where did I lay out a path that demanded alot of work compared to what you are already doing ?
when you said just make the renderer so it ignore the fields.
Quote:
...but why don't you just make the render ignore the irrelevant fields ?
yes - something like (in dofields())...
Code:
while(fields.hasNext()) {
field = fields.next();
if(theMethodYouAlreadyHaveTodecideWetherAFieldIsMentToBeincluded(field)) {
..default field stuff...
}
}
That can't be hard ;)
Quote:
Other than getting rid of the fields from its list, I could not think of another way of "making render ignore" the irrelevant fields.
oh - well, if you really like to mutate the fields/classmapping structure we should probably think up a way to add such possibility to the core of hbm2java....or at least add a method in basicRenderer saying: "isFieldRelevant()" or something ;)
Quote:
btw, do you work on the hibernate tools?