-->
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.  [ 2 posts ] 
Author Message
 Post subject: Handling of database user accounts
PostPosted: Fri Sep 16, 2005 10:52 am 
Beginner
Beginner

Joined: Wed May 05, 2004 3:26 am
Posts: 25
Hibernate version:
3.0.5
Name and version of the database you are using:
PostgreSQL 7.4.8

Hi there,

So far I am initializing hibernate using a configuration file where I specify all connection details and mapping documents.

In the need for creating a login screen (which will actually use the login information of the database), I'm trying to find out whether this is possible using Hibernate.
I'm looking for a way to actually being able to switch between user accounts during runtime. Note that only 1 user would be connected at the time so that clears away some of the issues.

Thanks in advance for ur input.

_________________
The Bits Control The Atoms


Top
 Profile  
 
 Post subject: yes
PostPosted: Fri Sep 16, 2005 11:05 am 
Expert
Expert

Joined: Fri Jul 22, 2005 2:42 pm
Posts: 670
Location: Seattle, WA
yes it is possible, please read this thread http://forum.hibernate.org/viewtopic.php?t=946210
I hope that will explain what you need to do.

_________________
--------------
Konstantin

SourceLabs - dependable OpenSource systems


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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.