
Search In
Find value in all tables in a Database
Some times we know the value which is in our database, but we don't know the Database architecture and mapping with our code base. So if i want to know that where a particular value store, we can use below quer
Dear programmers,
There may many chances when you try to add external dependencies in your Maven project. Let's learn this how we can add our own jars or external jars in a project with an example.
There are many Maven plugins available, And one o
Step 1=> Get all the countries data in an array and all states data corresponding to country wise.
<?php
$countries_Array = array(
'IN' => 'INDIA',
'BG' => 'Belgium',
'AU' => 'Australia',
);
$sta
Singleton Pattern
It restricts object of class to be created only once throught the application and provides global point of access to it. It also comes under creational
pattern like Factory pattern as it allows one of the best way to create object.
Java with MongoDB:- The MongoDB is the Document type Database. It is set of Collections and documents. it supports the NOSQL and to manage the collections inside the collection there are numbers of documents. The Below code will show you how to conne
Hello, if you are using pagination with cakephp framework and want to change the view of pagination just like twitter bootsrap then you can do this by doing follow changes in you view and css.
We can do it by writing some custom classes in view and y
Here the below code will show you how to inject the List in Spring using the spring.xml file. By using that we will inject the list object in spring.
Person.java
package com.evon;
public class Person {
String name;
String address;
in
Here the below code will show you how to inject the Map in Spring using the spring.xml file. By using that we will inject the Map object in spring. -
Person.java
package com.evon;
public class Person {
String name;
String address;
int
Here the below code will show you how to inject the Set in Spring using the spring.xml file. By using that we will inject the Set object in spring.
Person.java
package com.evon;
public class Person {
String name;
String address;
int
Using below Layout code you can create a Radial Gradient, Here I have created a Gradient.xml layout by using shape and gradient property. By using GradientDrawer we can make smooth transition between two or three colors in liner, radial or sweep pat
