ORA-31679: Solved ORA-31679: Table data object “Table_Name” has long columns, and longs can not be loaded/unloaded using a network link When ? ORA-31679 error occurs when we try to import the data using impdp over a network link. Why ? When the remote database contains table data object that has long columns, and longs can not…
PHP Mail Function Logging – mail.log
PHP 5.3.0 comes with many new features and one of important concept is Logging of Mail Function. What does it do ? Log all mail() calls including the full path of the script, line number, to address and headers. How does it work ? Go to your php.ini file. Find mail.log in that file. Enable…
ArrayList and LinkedList Difference
ArrayList ArrayList is backed Array datastructure and Alllow Duplicacy,we can insert multiple null value in it.Array initial capacity is 16. ArrayList make a contiguous memory allocation,for contiguous memory allocation arraylist always firstly create a space then insert a value in it.So arrayList require two step for insertion first create space then insert value. If we insert any value in ArrayList it take more…
Half Girlfriend
Chetan Bhagat again bang with his new novel “Half Girlfriend” The story is all about a Bihari Boy who is not good in english and a Girl who is very good in english. So with this beautiful love story this novel tries to cheer you up for how to your dreams. Buy this book at Flipkart…
ArrayList Implementation is not synchronized,if multiple threads access its instance concurrently then how to tackle the problem.
ArrayList should be wrrapped with Collections.synchronizedList method.This should be done at the time of list creation to prevent from unsynchronized Access. List lt=Collections.synchronizedList(new ArrayList(…));
Sometimes We Need A Kick To Slog
I use to think brain is most important organ of my body but wait a minute who is telling me this, again my brain so don’t always follow him. Here it is described by well know Author Chetan Bhagat Sometimes, I look back and wonder, how on earth did all this happen? I remember my days…
Advance CakePHP Interview Questions
Here is the list of advance Cakephp interview questions that every Cakephp developer should know before going for interview. And here I am just giving overview of answers so for complete answers you should go through respective documentation. Question – How many different type of Cache CakePHP Supports? FileCache ApcCache Wincache XcacheEngine MemcacheEngine RedisEngine FileEngine is always…
Difference between init() & init(ServletConfig)
Question-What’s the difference between init() & init(ServletConfig) and Which is better ? Answer- Before start we have to understand the servlet flow. For example you have servlet LoginServlet which extends HttpServlet public class LoginServlet extends HttpServlet{ } And your HttpServlet internally extends GenericServlet. public abstract class GenericServlet implements Servlet, ServletConfig, Serializable { public GenericServlet() {…
JDBCConnectionException while deploying Ear Sterling OMS
ErrorCode=”com.sterlingcommerce.woodstock.util.frame.jdbc.JDBCConnectionException This is the most common error we get while deploying Sterling Ear in Jboss. So to solve this error go to following location. << Jboss Installation Folder >>/bin/run.bat and open run.bat in text editor. After that find JAVA_OPTS variable and replace that variable and its value with this line. set JAVA_OPTS=%JAVA_OPTS% -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dvendor=shell -DvendorFile=<<sterling…
How To Open Contact Form 7 in Pop Up in WordPress
Contact Form 7 in Pop Up If you want to create a automatic pop up on your wordpress website’s home page load then there are just two simple steps to do this. So to do this we need two plugins Contact Form 7 and Easy FancyBox. After installing these two plugins we just need to…