On 31.05.11 20:15, Thomas Fox wrote:
> Then, as you know thatyou have enforced a one-to-one relation on the
> database side, you can refelct this knowledge on the java side by adding
> getters and setters to your java code which map the n side list to a 1 side
> simple getter and setter.

You can order the generator to declare your generated getters and
setters as protected and then expose only those you want to publicly
use. I'm not sure if that works with the collection type getters, however.

Bye, Thomas.

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscr...@db.apache.org
For additional commands, e-mail: torque-user-h...@db.apache.org

Reply via email to