It would be nice to be able to serialize a TableRecord to XML or JSON. It doesn't work right now though because TableRecordImpl.getTable() will cause a circular reference that will blow up with a stack overflow. There are ways I can work around this, I can configure Jackson to ignore getTable() or I can override the JavaGenerator to have the record implement an interface that will mark the field as @XmlTransient.
I was curious if this is something that jOOQ should support out of the box. Currently it means just adding @XmlTransient to TableRecordImpl.getTable() as I think that is the only public bean style getter that there is on the class. I could understand if jOOQ wouldn't want to support this as you would have to be careful with every addition to TableRecordImpl and its super classes that you don't accidentally add a getX() method without a @XmlTransient. Darren -- You received this message because you are subscribed to the Google Groups "jOOQ User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
