Logo
Header Main navigation
  • Who we are
    • About
      • About us
      • GenAI in Action
      • Leadership
      • Partners
      • Newsroom
      • Awards & Analyst Relations
      • CSR
      • Events
      • Careers
    • Insights
      • Case Studies
      • Whitepapers
      • Webinars
      • Newsletter
      • Podcasts
      • Blogs
      • Articles
      • Brochure
      • Testimonial
      • Video
  • What we do
    • Services
      • Generative AI
      • Digital Engineering
      • Quality Engineering
      • Cloud
      • Data
      • Digital Experience
      • Digital Marketing
    • Industries
      • Technology
      • Media & Entertainment
      • Financial Services
      • Healthcare
      • iGaming
    • Solutions
      • HAWK | Infra monitoring & Log Analytics
      • Prism | AI-based Test Automation
      • Nimbus | Custom Data Ingestion Solution
      • VideoReady | OTT & Video CMS framework
      • BOLT | Faster AEM Development
      • Technologies
  • InfAInite GPT
    • Generative AI
    • GenAI in Action
  Contact us
 
Home > Insights > Blogs > Sandeep Poonia

Blogs

Told you, we love sharing!

Sandeep Poonia
Technology

Technology

Mongo Case Insensitive InList Query

As we know in Mongo the match queries are case sensitive. So whether we do a find() operation or use $match stage of aggregate pipeline, the condition would be true only if its a exact case sensitive match. Of cource we can use regex to do case insensitive queries but then again it will not work when we are trying to find a match with in...

Sandeep Poonia
Sandeep Poonia July 23, 2016
Read→

GrailsTechnology

Using Hibernate Events with PersistenceEventListener

In my last blog, we discussed how to hook into GORM API to add some common custom functionality. We will refer the same problem that we discussed in my last blog. Here is the problem statement: In my grails plugin I was needed to add some fields that were common to a set of domains. For eg: for some domains we wanted to store fields like...

Sandeep Poonia
Sandeep Poonia July 23, 2016
Read→

Grails

Hooking into the Instance methods of the GORM API

In my grails plugin I was needed to add some fields that were common to a set of domains. For eg: for some domains we wanted to store fields like createdBy and lastUpdatedBy to keep track of users who created and last updated each record in that domain. Grails framework provides timestamping using which we can keep track of the time a...

Sandeep Poonia
Sandeep Poonia January 30, 2016
Read→

GrailsTechnology

Intercept Grails Service class method calls

I was trying to intercept method calls of a Grails Service class for a little while. Adding interceptors to Controllers is really easy and I wanted to intercept calls to one of the methods in a Service class in a similar fashion. But adding interceptors to Grails Service Classes is not as straightforward as for Controllers. After doing...

Sandeep Poonia
Sandeep Poonia October 30, 2015
Read→

GrailsTechnology

Grails Filter at top of Filter Invocation Chain

Sometimes in a web application we need filtering on request to a resource or on response, or on both. In Grails, it could be done easily via creating a filter. Just run grails create-filters [filter-name] and it will generate a filter in the application. To run a filter before all other filters, just put that filter at top of other...

Sandeep Poonia
Sandeep Poonia July 27, 2015
Read→

GrailsTechnology

Externalize and reload grails Log4j configuration

In Grails 2.x and in some earlier versions, the log4j configuration resides in grails-app/conf/Config.groovy. We can modify log4j closure here to add new categories and tweak the log levels. In development environemnt any changes to log4j closure are loaded automatically without bouncing the application, but not when the application is...

Sandeep Poonia
Sandeep Poonia July 1, 2015
Read→

Grails

Log SQL Query with Data Bindings in grails for a piece of code

Although in grails, we can use the logSql property in the DataSource file to log SQL queries or enable loggers "org.hibernate.SQL" for logging queries and "org.hibernate.type.descriptor.sql.BasicBinder" for logging bindings. But this solution wouldn't be that much helpful if we just want the logging for a particular piece of code rather...

Sandeep Poonia
Sandeep Poonia April 23, 2015
Read→

Grails

Parsing URL Mappings in Grails

There are times when we need to parse the URL mappings in our grails app. In my case we have a REST API. In which we have implemented a generic query method for all controllers but it is available to only a few using custom URL mappings. We wanted to create test cases in such a way for query action that each time a test case runs it...

Sandeep Poonia
Sandeep Poonia April 17, 2015
Read→
Archive
  • 2026
    • Jan
    • Feb
    • Mar
    • Apr
    • May
  • 2025
    • Jan
    • Feb
    • Mar
    • Apr
    • May
    • Jun
    • Jul
    • Aug
    • Sep
    • Oct
    • Nov
    • Dec
  • 2024
    • Jan
    • Feb
    • Mar
    • Apr
    • May
    • Jun
    • Jul
    • Aug
    • Sep
    • Oct
    • Nov
    • Dec
  • 2023
    • Jan
    • Feb
    • Mar
    • Apr
    • May
    • Jun
    • Jul
    • Aug
    • Sep
    • Oct
    • Nov
    • Dec
  • 2022
    • Jan
    • Feb
    • Mar
    • Apr
    • May
    • Jun
    • Jul
    • Aug
    • Sep
    • Oct
    • Nov
    • Dec
  • 2021
    • Feb
    • Mar
    • May
    • Jul
    • Aug
    • Sep
    • Oct
    • Nov
    • Dec
  • 2020
    • Mar
    • Jul
  • 2019
    • Jan
    • Mar
    • May
    • Jun
    • Jul
    • Aug
    • Dec
  • 2018
    • Jan
    • Feb
    • Mar
    • Apr
    • Jun
    • Nov
  • 2017
    • Jan
    • Feb
    • Mar
    • Apr
    • May
    • Jun
    • Jul
    • Aug
    • Sep
    • Oct
    • Nov
    • Dec
  • 2016
    • Jan
    • Feb
    • Mar
    • Apr
    • May
    • Jun
    • Jul
    • Aug
    • Sep
    • Oct
    • Nov
    • Dec
  • 2015
    • Jan
    • Feb
    • Mar
    • Apr
    • May
    • Jun
    • Jul
    • Aug
    • Sep
    • Oct
    • Nov
    • Dec
  • 2014
    • Jan
    • Feb
    • Mar
    • Apr
    • May
    • Jun
    • Jul
    • Aug
    • Sep
    • Oct
    • Nov
    • Dec
  • 2013
    • Jan
    • Feb
    • Mar
    • Apr
    • May
    • Jul
    • Aug
    • Sep
    • Oct
    • Nov
    • Dec
  • 2012
    • Jan
    • Feb
    • Mar
    • Apr
    • May
    • Jun
    • Jul
    • Aug
    • Sep
    • Oct
    • Nov
    • Dec
  • 2011
    • Jan
    • Feb
    • Mar
    • Apr
    • May
    • Jun
    • Jul
    • Aug
    • Sep
    • Oct
    • Nov
    • Dec
  • 2010
    • Jan
    • Feb
    • Mar
    • Apr
    • May
    • Jun
    • Jul
    • Aug
    • Sep
    • Oct
    • Nov
    • Dec
  • 2009
    • Jan
    • Mar
    • Apr
    • May
    • Jul
    • Aug
    • Sep
    • Oct
    • Nov
    • Dec
  • 2008
    • Feb
    • Apr
    • May
    • Jun
    • Jul
    • Aug
    • Sep
Who we are
  • About
  • Leadership
  • Awards
  • Events
  • Privacy Policy
  • Press Releases
  • Media Coverage
  • Partners
  • CSR
  • Modern Slavery Statement
What we do
  • Services
  • Technologies
  • Solutions
  • Industries
  • Idanim
Knowledge
  • Blogs
  • Success Stories
  • Whitepapers
  • Webinars
  • Podcasts
  • Newsletter
  • Article
  • Brochure
  • Testimonial
  • Video
Contact Us
  • Career
  • Join us!
  • Request for Services
  • Media Queries
  • Responsible Disclosure
Follow us on
  • ln
  • twt
  • fb
  • Glassdoor
 
To The New
black-footer-logo

©2026 TO THE NEW

Services
Digital Marketing
  • Web Analytics
  • Social Listening
  • Digital Analytics
  • Search Engine Optimization
  • Email Marketing
  • Marketing Automation
  • Digital Marketing
  • Influencer Marketing
  • Content Marketing
  • Social Media Marketing
  • Creative Strategy
  • Digital Campaigns and Activations
  • Media planning and buying
  • Search Marketing
  • Digital Strategy
Backend Engineering
  • Python Development
  • Node.js Development
  • Grails Development
  • Java Development
  • MEAN Development
  • JavaScript Engineering
Web Content Management
  • AEM Development
  • Drupal Development
Cloud & DevOps
  • DevOps as a Service
  • DevOps on AWS
  • DevOps Tools
Digital Transformation
  • Digital Transformation
Experience Design
  • Experience Design
Mobility
  • Mobility
  • iOS App Development
  • Android Development
  • Smart TV App Development
  • Mobile Automation Testing
Frontend Engineering
  • AngularJS Development
  • React Native Development
  • React js Development
Product Engineering
  • Software Product Engineering
Video Solutions
  • Video Solutions
  • Video Managed Services
  • Multiscreen Solutions
Software Development
  • Offshore Software Development
  • Outsourced Software Product Development
  • Custom Software Development
  • Bespoke Software Development
Web Application Development
  • Idanim
  • Custom Web Application Development
  • Outsource Web Application Development
Development Center
  • Offshore Development Center

Tips for writing a blog

Learn how to write a caption