-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: Hibenate is unable to locate persistent objects
PostPosted: Mon May 29, 2006 2:03 am 
Newbie

Joined: Tue May 02, 2006 12:59 am
Posts: 3
Location: hyderabad
Hi all,

For our products, we usually give encrypted jar instead of normal one.
Our problem is hibenate is unable to locate the corresponding persistent object from the encrypted source.
The code is working fine if we are using normal jar file instead of encrypted one.

We also used reflection for loading corresponding persistent objects into memory before initializing hibernate. But hibernate is not recognizing those loaded objects as well.

If anybody had the same problem before, could you please help me out.

Thanks in advance.

Thanks & Regards,
Venkata Phanikumar. G

_________________
Thanks & Regards,
Venkata Phanikumar. G,
Hyderabad.


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 29, 2006 2:22 am 
Expert
Expert

Joined: Thu May 26, 2005 9:19 am
Posts: 262
Location: Oak Creek, WI
Hi,

I don't know the exact answer for this. Probably wait for a while to get answers from the expert.

A work around:

You can expose your Persistent object. i.e) Create a new Project for the Persitant Object. And don't encryt these classes. So you will have two jars. one with the logic and etc in the encrypted jar and persitent object in a normal jar.

I suppose you can expose your Persitent Object.
Any comments on this?

_________________
RamnathN
Senior Software Engineer
http://www.linkedin.com/in/ramnathn
Don't forget to rate.


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 29, 2006 5:12 am 
Newbie

Joined: Tue May 02, 2006 12:59 am
Posts: 3
Location: hyderabad
Hi ramanath,

Thanks for your reply.

_________________
Thanks & Regards,
Venkata Phanikumar. G,
Hyderabad.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.