Merge pull request #21 from Socioware/master

Work area update
Fix for Issue #22 : flag should be replaced with proper name.

Replaced flag with ret_val in all function with database conectivity.

Signed-off-by: Ashish Namdev <ashish28.sirt@gmail.com>
Fix for Issue i#19 : Modify code Indentation
Fixed in   DiscussionBean.java , Event.java , Feedback.java

Signed-off-by: Ashish Namdev <ashish28.sirt@gmail.com>
Fixed issue #19 : Modify code Indentation

This is last commit for issue #16 , it's fixed in all files related to
database connectivity

Signed-off-by: Ashish Namdev <ashish28.sirt@gmail.com>
Merge pull request #6 from AshishNamdev/ash/13w42-fixes

Ash/13w42 fixes
Fix for Issue #23 : correction needed in condition check for AdminLogin

Signed-off-by: Ashish Namdev <ashish28.sirt@gmail.com>
Fix for Issue #25 :  Corection Needed in all Login Classes

replaced while(rs.next()) and  while(ps.executeQuery().next()) by if(rs.next())
and  if(ps.executeQuery().next())

Signed-off-by: Ashish Namdev <ashish28.sirt@gmail.com>
Fix for Issue  #24 : Connection , Prepared Statement , Resultset should
not be part of Class

Removed Connection , Prepared Statement , Resultset from the class and
make them local to methods which are using them

Signed-off-by: Ashish Namdev <ashish28.sirt@gmail.com>
fix for Issue #26 : while loop should not be used to check valid database
entry for single entity

replaced while(rs.next()) or while(ps.executeQuery().next()) , by
if(ps.executeQuery().next())

Signed-off-by: Ashish Namdev <ashish28.sirt@gmail.com>
Merge pull request #7 from AshishNamdev/ash/13w42-fixes

Please merge ash/13w42 fixes for 13w42  :

Accepted and Merged , socioware-1342 milestone is closed for bugs and fixes after this commit
Merge pull request #8 from Socioware/13w42-fixes

Merge 13w42 fixes into master to maintain latest source code on a single branch "master" :

Yes 13w42-fixes are taken into mater