-
queryForObject() throws EmptyResultDataAccessException when record not found
Reviewing a legacy project, and found this Spring JDBC code snippets :
Date: 2019-08-17 View: 1546
-
Spring Security Custom Login Form Annotation Example
In this tutorial, we will convert previous Spring Security custom login form (XML) project to a pure annotation-based project.
Date: 2019-08-17 View: 1791
-
Python Read XML file (DOM Example)
In this example, we will show you how to read an XML file and print out its values, via Python xml.dom.minidom.
Date: 2019-08-17 View: 1527
-
Cant delete records in MySQL Workbench
In MySQL workbench, issue a simple delete all commands
Date: 2019-08-17 View: 1420
-
How to autowire DataSource in JdbcDaoSupport
A Simple DAO class extends JdbcDaoSupport, but, unable to inject or @autowired a “dataSource”, the method setDataSource is final, can’t override.
Date: 2019-08-17 View: 1641
-
Spring Security : limit login attempts example
In this tutorial, we will show you how to limit login attempts in Spring Security, which means, if a user try to login with an invalid password more than 3 times, the system will lock the user and make it unable to login anymore.
Date: 2019-08-17 View: 2422
-
Spring + Hibernate : No Session found for current thread
Integrates Spring 3 and Hibernate 4, the system shows the following message while performing database operation :
Date: 2019-08-17 View: 1459
-
Spring Security : Check if user is from remember me cookie
This Spring Security example shows you how to check if a user is login from a “remember me” cookie.
Date: 2019-08-17 View: 1616
-
ClassNotFoundException: org.aspectj.weaver.reflect.ReflectionWorld$ReflectionWorldException
Spring + Hibernate4 integration, and transaction are managed by Spring AOP, example :
Date: 2019-08-17 View: 1528
-
Google Chrome displays pink color screen
After upgrading from Windows 8 Enterprise to Windows 8.1, Google Chrome displays pink color screen like this :
Date: 2019-08-17 View: 1374
-
Spring Security Remember Me Example
In this tutorial, we will show you how to implement “Remember Me” login feature in Spring Security, which means, the system will remember the user and perform automatic login even after the user’s session is expired.
Date: 2019-08-17 View: 1680
-
Spring MVC find location using IP Address (jQuery + Google Map)
In this tutorial, we show you how to find a location using an IP address, with the following technologies :
Date: 2019-08-17 View: 2176
-
How to access JSON object in JavaScript
Below is a JSON string.
Date: 2019-08-17 View: 2115
-
jQuery loop over JSON string $.each example
Review a simple jQuery example to loop over a JavaScript array object.
Date: 2019-08-17 View: 2057
-
Spring Data MongoDB : like query example
In SQL, the ‘like’ query is looks like this :
Date: 2019-08-17 View: 1553