By default GORM injects whole set of dynamic finders into domain entities. However what should one do if he needs to implement more complex queries that require use of Criteria Builder or HQL?
Continue reading
Tag Archives: orm
GORM and getting rid of the DAO(Repository) layer
Like many other new web application frameworks (e.g Rails, Spring Roo) Grails with its GORM has taken the approach that separate DAO or Repository layer is removed. Is this a bad thing or is it just a change in implementation that doesn’t affect conceptual design?
Continue reading
Simpler Hibernate Criteria Builder in Grails
If you implement search form functionality using Hibernate Criteria Builder in Grails then the resulting code usually looks something like this:
Continue reading
Grails initial experience
Following are some notes based on initial Grails experience in a 1 month greenfield web application project.
Continue reading
Domain model implementation consideration – dealing with presentation-domain model mismatch using rich domain model
Sorry about the title 🙂
In a typical data management system significant amount of effort is spent on implementing mappings between three different models – presentation, domain and persistence model. In this article I will describe one approach to dealing with these transformations in case special ORM tool cannot be used.
Continue reading
Presentation and domain model mapping in GWT applications
In this post I will analyze problems related to presentation and domain model mapping in GWT applications. I will use AMS2 as the basis of discussion but most issues are not specific to any particular application.
Continue reading