Hi,
What are the files involved here apart from the below to incorporate the
changes you mentioned?. Could you pls tell me.
1) PasswordAuthentication.java,
2) Eperson.java
Thnx n rgds
P
On Wed, Apr 25, 2012 at 2:08 PM, helix84 <[email protected]> wrote:
> On Wed, Apr 25, 2012 at 13:58, Priya S <[email protected]> wrote:
> > Could you please guide me what is the easiest way if I want to use table
> > Tperson from a different postgres database instead of table eperson?.
>
> In any case, you need a connection to this other database. So for each
> SQL command operating on the Tperson table you need to set the context
> to use a DB connection to your second database:
> context.setConnection(dbURL, dbUsername, dbPassword);
>
> Then you pass this context to DatabaseManager methods operating on the
> Tperson table. Of course, you'll need to change the table name in SQL
> commands, too, or, alternatively, create a view in the second database
> mapping Tperson to eperson.
>
> Regards,
> ~~helix84
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech