Results 1 to 2 of 2
  1. #1
    vijat is offline Member
    Join Date
    Oct 2009
    Posts
    1
    Rep Power
    0

    Question Java Object Migration

    I have a application (Java 1.4 Compiled) that would cache the object in a DB and access it constantly during the activity of the application, now the application is recompiled with the JDK 1.5 version and currently we are stuck with a problem of the Object cache facing the class mismatch / Serialization exception since the object cache created for the Java 1.4 is not compatible with the JDK 1.5 complied classes. I cannot remove these cache directly since it is specific to individual users and has a definite values that has to be re-used.

    please advice if there exist any possibility of migrating these objects directly from 1.4 to 1.5 .

    Noe: there are no code changes b/w these two versions .

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,336
    Blog Entries
    7
    Rep Power
    20

    Default

    I bet those Serialized objects don't have a long ServialVersionUID. If not you're out of luck without the source code for those classes.

    kind regards,

    Jos

Similar Threads

  1. Replies: 2
    Last Post: 11-26-2010, 02:12 AM
  2. web application migration from IE6 to IE7
    By maverick_friend in forum Advanced Java
    Replies: 3
    Last Post: 04-09-2009, 05:43 PM
  3. WAS migration from 5.1 to 6.0
    By sneha1234 in forum Other IDEs
    Replies: 0
    Last Post: 02-21-2009, 06:56 AM
  4. IE7 Migration
    By Aneesha in forum Advanced Java
    Replies: 1
    Last Post: 12-04-2007, 03:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •