Site Statistics
Unique Visitors Today:
0
Page Views Today:
0
Unique Visitors this Week:
0
Page Views this Week:
0
Unique Visitors this Month:
0
Page Views this Month:
0
Total Unique Visitors:
1
Total Page Views:
7
Total Hits Out:
65
Latest Blog Posts for The Coding Idiot
- Unix Noteson Mar 14, 2013 in unix script in background nohupExecute a unix script in backgroundnohup ./your_shell_script.ksh &Once executed by above line, to monitor this process:while truedo jobsdone...
- JAVA SnippetsException in thread "main" java.lang.NoClassDefFoundError :Normally caused when a particular class was available during compilation time but was not available during runtime in the classpath through wich it is being executed.This can be solved...
- Loading data from files into tables by SQLLOADERon Feb 13, 2013 in SQLLOADER Syntax SQLLoader control fileLoading data from files into tables by SQLLOADER:SQL*Loader is a bulk loader utility used for moving data from external files into the Oracle database.To load files using SQLLoader, first you need the control file for SQLLoader.An exa...
- BingSiteAuth.xmlon Feb 9, 2013- A553D7C7774B5DDCC2BAD74270F27373...
- Oracle SnippetsAUTONOMOUS_TRANSACTIONAutonomous_transaction is a Oracle compiler directive(called pragma) that tells Oracle compiler that the current transaction is autonomous.This means, that block of code will be executed , compiled and rolled back independ...
- Validate an XML using JAVAon Jan 28, 2013 in XML as per XSD Validate an XMLJava Code to validate whether a given XML is as per the XSD or not:Below is a code snippet that valides a XML./** * */package parseXml;import java.io.File;import javax.xml.transform.Source;import javax.xml.transform.stream.StreamSource;imp...
- Check available memory in JAVACheck Memory usage by JavaIn memory intensive JAVA applications, like reading from and writing to a large file, sometimes it becomes necessary to monitor the memory usage.An instance of Runtime comes handy in such situations.The following is a code s...
- Unix Snippets1.Find the location where Java compiler is installed:ll $(locate bin/javac)2.To send a file as an attachment to a mail from unix box:uuencode file_name file_name | mail -s "Subject goes here" arnab.bhagabati@gmail.com...
- Parsing an XML in JAVAon Jan 24, 2013 in Marshalling/Unmarshalling using JAXB JAXB Write to a file using java XML Parsing an XML in JAVAHow to Parse a XML file using JAVA (using JAXB)First we need to obtain the java classes from the XSD(XML Schema Definition) file. This can be done using various tools; trang.jar is just one of them.Go to the directory/folder containing the xsd...
- ORACLE Oracle Database Utility Packageson Jan 22, 2013 in Oracle supplied packages ORACLE q function DBMS_METADATA How to get the DDL of a table?Oracle provides a number of in built packages and functions to make our tasks easier. List of usage of few Oracle supplied packages:How to get the DDL of a table:We can get the definition of objects like tables/views/procedures etc using the DB...
Loading Comments...
Comments
{ds_PageTotalItemCount} commentcomments
{pvComments::date}
{pvComments::comment}