Grails - get sessionFactory instance when having multiply data sources
Everyone knows how to inject bean for a given data source, but what about sessionFactory?
Software is never written, it is always rewritten
Everyone knows how to inject bean for a given data source, but what about sessionFactory?
A funny null fact I found out after so many years of working with groovy.
During some troubleshooting on one of projects I needed to get latest dump from remote mysql database server I couldn’t ssh to.
Easy thing… but the database was actually quite huge…
“The deeper level of logs is, the less often it will be logged” - we use to say. Well that’s not true.
A few days ago I was debugging an issue in one web application.
All tracks were pointing to Java Script logic that shortly speaking was creating a copy of the array and then modifying the destination array.