Hi, surrounded by the following Scenario:
Serverside MysqlDB -> DAO -> Spring JDBC Template -> POJO _> ServiceLayer -> RMI Clientside RMI -> ServiceLayer -> Swing GUI Database consists of entities with foreign keys to other entities. Currently i have purely dumb entites with just foreign ids in it and load those entities separately on Access. As this is becoming unhandy as the application grows, i would really like to swap over to a more orm solution. Problem: Due to the fact that rmi is used, Hibernate would only work out on serverside with eager loading, as remote lazy loading is not a good idea as stated by their faq´s, even if there are some approaches to tackle the session Problem.As i do not like the idea of session Management and all the Overhead just for eager loading, hibernate is out. *Now i´m searching an alternative way to easily do the entity in entity mapping, at least eager or best lazy without any sessions.* Given this Situation and a lot of googling, i once again came across jooq. (i evaluated it already for another Project, but that did not work out with the Project time Frame) But as Stated in your Manual, jooq does not handle complex data structures: > jOOQ currently doesn't support more complex data structures, the way > Hibernate/JPA attempt to map relational data onto POJOs. While future > developments in this direction are not excluded, jOOQ claims that generic > mapping strategies lead to an enormous additional complexity that only > serves very few use cases. You are likely to find a solution using any of > jOOQ's various *fetching modes* > <http://www.jooq.org/doc/3.5/manual-single-page/#fetching>, with only > little boiler-plate code on the client side The question would be, could this Problem be tackled with the use of modelmapper or any other Approach, as you stated, that it is likely to find a solution in the fetching modes? Currently i do not see one... Do you? best regards -- 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/d/optout.
