Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version:
Mapping documents:
Code between sessionFactory.openSession() and session.close():
Full stack trace of any exception that occurs:
Name and version of the database you are using:
The generated SQL (show_sql=true):
Debug level Hibernate log excerpt:
Hi Hibernate Community. I'm facing this issue since a long time...
The thing is, I have the hibernate POJO (mapped beans), the data transfer object, and the struts form... and they all look almost the same!
And I don't want the POJO to extend ActionForm... and thou I HATE DTOs (duplicated code), it's the only way of isolating the business tier from the data access tier, since the business tier should know anything about hibernate.
My app architecture looks like this:
JSP -> Struts -> Business Object (business logic) -> DTOs -> DAOs -> Hibernate -> Oracle
It seems over-engineered to me... that's why I'm looking for your opinions...
thanks in advance
Matías