We use <a href="
http://db.apache.org/torque/index.html">apache torque</
a> as ORM in our project. The DAOs( torque auto generates the DAO
classes based on the schema design) generated are quite complex( since
our database schema design is really complex). We use readExternal and
writeExternal to deserialize /serialize objects. We already face some
serious performance issues when the data is large. I think protobuf
can definitely make things better for our case. Is there a way to
integrate Protobuf classes with our existing DAO model?