× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Before acting on this e-mail or opening any attachment, you are advised to read 
the disclaimer at the end of this mail.

Hi,
Currently when I get an AS400 DB connection I do:

      DriverManager.registerDriver(new com.ibm.as400.access.AS400JDBCDriver());
      as400Connection =
          DriverManager.getConnection(
          "jdbc:as400://" + as400System + "/" + as400Collection, user,
password);

I retrieve the user and password from a properties file. The process is a batch
process.

I setup a userid for DB access that cannot sign on with a password that never
expires. Is there a better way to do this?

Thanks in advance,
Pat


**********************************************************************
This e-mail is intended solely for the addressee and is strictly confidential. 
If you are not the addressee, please do not read, print, re-transmit, store or 
act in reliance on it or any attachments. Instead please e-mail it back to the 
sender and delete the message from your computer.

E-mail transmission cannot be guaranteed to be secure or error free and The 
Co-operative Bank accepts no liability for changes made to this e-mail (and any 
attachments) after it was sent or for viruses arising as a result of this 
e-mail transmission.

Any unauthorised reproduction, dissemination, copying, disclosure, 
modification, distribution and/or publication of this e-mail message is 
strictly prohibited.

The Co-operative Bank reserves the right to intercept any e - mails or other 
communication for permitted purposes in accordance with the current legislation 
which you send to, or receive from, any of the employees or agents of the Bank 
via Bank telecommunication systems. By so corresponding you also give your 
consent to the Bank monitoring and recording of any correspondence using these 
systems.   

The Co-operative Bank p.l.c. is registered in England and Wales, number 990937. 
The registered office is at PO Box 101, 1, Balloon Street, Manchester, M60 4EP. 
 
**********************************************************************

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.