Quantcast
Channel: getting result set into DTO with native SQL Query in Hibernate - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by Pascal Thivent for getting result set into DTO with native SQL...

You could maybe use a result transformer. Quoting Hibernate 3.2: Transformers for HQL and SQL:SQL TransformersWith native sql returning non-entity beans or Map's is often more useful instead of basic...

View Article



getting result set into DTO with native SQL Query in Hibernate

I have a query like belowselect f.id, s.name, ss.namefrom first fleft join second s on f.id = s.idleft join second ss on f.sId = ss.idIf I could use HQL, I would have used HQL constructor syntax to...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images