-->
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.  [ 1 post ] 
Author Message
 Post subject: How to hide my connection details from diff clients in hib
PostPosted: Fri Aug 19, 2011 5:53 am 
Newbie

Joined: Fri Aug 19, 2011 5:51 am
Posts: 1
Hi Friends,

I developed a standalone application which uses hibernate for its persistance logic and uses mysql database on php server hosting.
as we know hibernate logic is with my standalone app at client side.
So now i want to run that app on multiple machines.

In hibernate we write configuration file in which we should give connection url as property along with username and password of database.
So is there any way that i can hide this configuration file and still make my hibernate app work on multiple systems.

Since all can see my hibernate configuration file so anyone can use my database details and get access.

please hepl me out.
Thanks in advance.


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

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.