Saturday, October 26, 2013

Java DB Bug Fix







Java Derby Bug Fix
Hi Buddies,
                 I came up through some exception while running Java Derby Database. The exception is as follows,

 Bug 1

Exception in thread "main" java.lang.ExceptionInInitializerError
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:141)
>         at org.apache.derby.impl.tools.ij.util.loadDriver(Unknown Source)
>         at org.apache.derby.impl.tools.ij.util.loadDriverIfKnown(Unknown Source)
>         at org.apache.derby.impl.tools.ij.util.startJBMS(Unknown Source)
>         at org.apache.derby.impl.tools.ij.util.startJBMS(Unknown Source)
>         at org.apache.derby.impl.tools.ij.ConnectionEnv.init(Unknown Source)
>         at org.apache.derby.impl.tools.ij.utilMain.(Unknown Source)
>         at org.apache.derby.impl.tools.ij.utilMain14.(Unknown Source)
>         at org.apache.derby.impl.tools.ij.Main14.getutilMain(Unknown Source)
>         at org.apache.derby.impl.tools.ij.Main.(Unknown Source)
>         at org.apache.derby.impl.tools.ij.Main14.(Unknown Source)
>         at org.apache.derby.impl.tools.ij.Main14.getMain(Unknown Source)
>         at org.apache.derby.impl.tools.ij.Main.mainCore(Unknown Source)
>         at org.apache.derby.impl.tools.ij.Main14.main(Unknown Source)
>         at org.apache.derby.tools.ij.main(Unknown Source)
 
 
Solution :
          While installing JDK7 java derby will also installed and configured. But i explicitly configure different version java derby in class path. That's why the exception thrown. When i deleted class path which i configure explicitly its working fine.
 

Friday, October 25, 2013

Hibernate Bug Fixes


Hibernate Bug Fixes

 Hi Buddies,

                   I hope you know all posting more variety of hot topics. Now i came up with an idea to share my technical experience with you all. So posting every challenge in separate post is getting difficult. Now i shared one document which i will update frequently that document. Please click the link below.