It is nice, but it must be more usefull to refactor default tuplizer. It is not trivial to replace proxy factory implementation at this time (or user must fork PojoTuplizer). Probably it is more usefull to replace "LazyLoader" implementation than code generator:
public class MyTuplizerImpl extends PojoEntityTuplizer { public TuplizerImpl(EntityMetamodel entityMetamodel, PersistentClass mappedEntity) { super(entityMetamodel, mappedEntity); } protected ProxyFactory createProxyFactory() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ { return new MyProxyFactoryImpl(); } } --- Steve Ebersole <[EMAIL PROTECTED]> wrote: > So now that we have the BytecodeProvider > abstraction, does it make sense > to allow no lazy-load capabilities for simplistic > apps? Something like > a NoOpBytecodeProvider which performs no type of > class enhancement? > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a > groundbreaking scripting language > that extends applications into web and mobile media. > Attend the live webcast > and join the prime developer group breaking into > this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 > _______________________________________________ > hibernate-devel mailing list > hibernate-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/hibernate-devel > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ hibernate-devel mailing list hibernate-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hibernate-devel