Skip to content

Question more than issue: Does Entity Pruner handle case of serialization w/o hibernate classes #1

Description

@mikemil

Hi,

This is more of a question. I found the blog post from years ago about this problem and think we are encountering something similar and wondering if the entity pruner would be a good fit.

We are migrating from Hibernate2 to Hibernate3. All servers can NOT be upgraded at once. Store servers are sending objects to a Central repo and saved in the database. Central is upgraded first and at H3, but stores are still at H3. We serialize the objects and put them on a JMS queue to our Central, which de-serializes the objects and saves to Central DB. Now we are getting class loader problems because the net.sf.hibernate.* jars are not on the H3 server. We always use lazyloading=false because or clients are Web Start Swing clients so lazy is not an option.

Seems like we shouldn't be doing this with the Hibernate objects in the serialization so wondering if this tool is a good fit or if there is something that fits better?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions