If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Upgradation - DB2 8.2 -> DB2 9.5

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-22-09, 05:09
Hello1 Hello1 is offline
Registered User
 
Join Date: Nov 2008
Posts: 16
Upgradation - DB2 8.2 -> DB2 9.5

Hi,

Our client wants to migrate from DB2 8.2 to DB2 9.5. We have a J2ee application running at client location.

Can you please guide me as to what impact this migration will have on the application.. i.e. what all has changed from DB2 8.2 to DB2 9.5 and what all we'll have to modify in the application so that it works on DB2 9.5.

Please help.

PS-Currently on DB2 8.2, the application is working fine.
Reply With Quote
  #2 (permalink)  
Old 12-22-09, 05:58
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
if upgrading just the db - it should be no problem
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
Reply With Quote
  #3 (permalink)  
Old 12-22-09, 06:41
Hello1 Hello1 is offline
Registered User
 
Join Date: Nov 2008
Posts: 16
Thanks przytula_guy for the reply.

But one of the teams here last yr moved from 8.2 to 9.1 and they had to modify long to sqlint in their code.But that was for C/C++ code.

Ours is java and we are moving to 9.5, so what all changes in java code and/or sqls used I'll have to change ?

Thanks.
Reply With Quote
  #4 (permalink)  
Old 12-22-09, 07:09
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Reply With Quote
  #5 (permalink)  
Old 12-23-09, 01:44
dr_te_z dr_te_z is offline
Registered User
 
Join Date: Jan 2009
Location: Zoetermeer, Holland
Posts: 555
Re-evaluate your JDBC driver you use for your J2EE. Using a type-2 driver now? You should be able to switch to the type-4 driver so you can drop the db2-client software on your J2EE server and run 100% native java.
Reply With Quote
  #6 (permalink)  
Old 12-23-09, 05:07
stolze stolze is offline
Registered User
 
Join Date: Jan 2007
Location: Jena, Germany
Posts: 2,662
Quote:
Originally Posted by Hello1 View Post
But one of the teams here last yr moved from 8.2 to 9.1 and they had to modify long to sqlint in their code.But that was for C/C++ code.
In other words: they had to fix the bugs in their code because they didn't use LONGERROR YES/NO in their prepare statements correctly.
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development
Reply With Quote
  #7 (permalink)  
Old 12-25-09, 11:35
blazer789 blazer789 is offline
Registered User
 
Join Date: Jun 2009
Posts: 221
Until version 8, the java directory present under db2 installed binaries used to come with a file 'usejdbc2'. In our environment, all the java applications use 'usejdbc2' to source the jdbc jar files but as 'usejdbc2' is not present in version 9.5 any more, make sure the java applications are not coded to use the file 'usejdbc2' instead make them point to db2java.zip and db2jcc.jar/db2jcc4.jar depending up on the JDK level.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On