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?
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?