Feeds:
Posts
Comments

Archive for August, 2008

Today we shall look into a nice feature on how to secure our JDBC connections. It’s generally a standard to make JDBC connections in java applications to connect to database. We mostly have web applications running in a web container. These web applications make JDBC connections to the databases to retrieve data for the applications. [...]

Read Full Post »

Performing encryption and decryption using the same language might be straight forward and many resources can be found in this regard. But when it comes to across languages, mismatches appear even if you are using the same algorithm to encrypt and decrypt. One of the reasons for this is that each language has its own [...]

Read Full Post »

This may sound dumb and easy. However, I am sharing my experiences with encrypting data because it might be of help to someone.
The Oracle packages that can be used for encryption/decryption varies on the Oracle version.
DBMS_OBFUSCATION_TOOLKIT   – Oracle 8i and above
DBMS_CRYPTO                – Oracle 10.1 and above
I have recently used DBMS_OBFUSCATION_TOOLKIT and will [...]

Read Full Post »

Today a colleague of mine was trying to pick the top row in a result set on SQLServer, and we being  Oracle Database fans could only think of ROWNUM. So here is what we found out after digging for some time.
Rownum is used in Oracle to retrieve the N-top records.
SELECT  * FROM TABLENAME
WHERE ROWNUM<2
Note: Some [...]

Read Full Post »

One of the days at work, we had some requirements to deploy a java web application in an OC4J container (Oracle Container for Java). We are using MyEclipse as our development tool. We had easily integrated it with Tomcat for all the previous deployments. So, we thought it is going to be a cake walk. [...]

Read Full Post »

Journey of Mayhem

Today we start are journey of mayhem, learning and sharing our experiences in the ever growing field of technology. This blog was born with a purpose in mind to provide a centralized repository of knowledge which can be easily accessed and counted on at desperate times. We would like to share as we too have [...]

Read Full Post »