Pages
(Move to ...)
Home
Java
Android
Php
Cake PHP
jQuery
Grails
All Pages
▼
Showing posts with label
grails-on-groovy
.
Show all posts
Showing posts with label
grails-on-groovy
.
Show all posts
Wednesday, October 26, 2022
Grails on Groovy - join tables using createAlias with additional condition along with sql on condition for additional filter of data
›
We frequently use createAlias to create alias between entity. It actually create connection based on foreign key...
Wednesday, August 22, 2018
Grails on Groovy > Way in Grails to Eager Fetch the Whole Record | Load Related Entity With Single Query
›
I am trying to find if there is any way in Grails to eager fetch complete records instead of a left Join. For example, let you have ...
Thursday, July 12, 2018
Grails on Groovy over Java > Email Address Validation Using Regex
›
Below is a sample code snippet to validate email address using REGEX package com . pkm ; import java.util.regex.Pattern ;...
Friday, July 6, 2018
Grails on Groovy > GORM dirty checking of instance and properties > grails - tell me if anything is dirty > Checking for Dirty (Updated) Properties on a Grails Domain
›
GORM provides Grails developers lots of useful hooks, events, methods, and functionality, very important is domain events that ...
Saturday, June 23, 2018
When do I need to call this method Runtime.getRuntime().addShutdownHook() > Java.lang.Runtime.addShutdownHook(Thread hook) Method > Java Shutdown hook – Runtime.addShutdownHook() > Grails on Groovy: Add a ShutdownHook > Runtime: addShutdownHook(Thread hook)
›
The java.lang.Runtime.addShutdownHook(Thread hook) method registers a new virtual-machine shutdown hook.The Java virtual machine shu...
Sunday, June 17, 2018
Grails on Groovy > Invalidate Session > Error Handling - Session already invalidated
›
Problem is that in my grails application, when I invalidating the existing http session using session.invalidate() and creating a n...
Grails on Groovy > Grails Filter to Redirect HTTP to HTTPS > Redirecting WWW to Root with Grails > Grails Append Something to URL before Redirect > URL Modification On Grails Filters
›
The problem is need to modify http to https as well as add www to domain name if not exists. To do so have to modify in our Grail...
1 comment:
Grails on Groovy > Transactions > Transaction Block > Read Only Transactions > With New Transaction > Transactions With Read Only Stage
›
We all know that Grails services are transactional by default. When you create a service you see that there is a annotation @Transac...
Grails on Groovy > Create Criteria > Create Alias > Grails Create Alias > Create Alias With Additional Criteria
›
We frequently use createAlias to create alias between entity. It actually create connection based on foreign key and primary key be...
Saturday, June 16, 2018
Grails on Groovy > Bind Metamethod of Hibernate Criteria Builder > Create Custom Function / Custom Method Under HibernateCriteriaBuilder > HibernateCriteriaBuilder Meta Method
›
To bind custom method with hibernate criteria builder you first need to create a groovy file named HibernateCriteriaListener like b...
›
Home
View web version