How would someone get the name of the database from a superclass of a
peer? I am trying to write a superclass and am having a hell of a time
with it because almost all of the methods are static and don't inherit
like normal methods.

I have tried getMapBuilder(), but that tries to use the method in 
BasePeer. I have tried to get DATABASE_NAME via reflection, but I don't 
know what the name of the subclass is and can't call getClass(), so I 
can't really do this.

I was just wondering if anyone had any suggestions. As it is, I have to 
pass the class that I want to operate on in to a method on itself which 
seems silly.

Will



--
To unsubscribe, e-mail:   <mailto:turbine-torque-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:turbine-torque-user-help@;jakarta.apache.org>

Reply via email to