Skip to main content

Posts

Showing posts from July, 2013

iBatis and Hibernate

iBATIS is a persistence framework which automates the mapping between SQL databases and objects in Java, .NET, and Ruby on Rails. The mappings are decoupled from the application logic by packaging the SQL statements in XML configuration files. iBATIS Design Philosophies: iBATIS comes with the following design philosophies: Simplicity:  iBATIS is widely regarded as being one of the simplest persistence frameworks available today. Fast Development:  iBATIS's philosophy is to do all it can to facilitate hyper-fast development. Portability:  iBATIS can be implemented for nearly any language or platform like Java, Ruby, and C# for Microsoft .NET. Independent Interfaces:  iBATIS provides database-independent interfaces and APIs that help the rest of the application remain independent of any persistence-related resources, Open source:  iBATIS is free and an open source software. Advantages of IBATIS Here are few advantages of using IBATIS: Suppports Stored pro

A minor error which could spent you a few hours("" vs )

            Did you see the difference between   <c:set var="var1">""</c:set>   and   <c:set var="var2"></c:set> ? The 1st one in Java is something like String var1  = " \"\""; and the later one is like, String var2 = ""; So, if you try to compare   var1 with empty, it will retur false as \"\"  is not empty. Cheers,