Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / Ingres Topics / August 2006

Tip: Looking for answers? Try searching our database.

JDBC connection with -u ?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JIMC - 04 Aug 2006 20:08 GMT
We are trying ( using WebLogic ) to connection to ingres using JDBC
with a privileged user with the -u option.  The following connection
strings work but how/where can we insert the -u option so privileged
user 'joe' connects as 'jim' ?  jim has an ingres account but not an
Unix account.

<JDBCConnectionPool CapacityIncrement="2"
       DriverName="ca.edbc.jdbc.EdbcDriver"
       InitSQL="SQL set lockmode session where level = row"
       InitialCapacity="5" MaxCapacity="10" Name="IngresEpnPool"
       PreparedStatementCacheSize="0"
Properties="user=joe;password=joepass;"
       Targets="server_development" TestConnectionsOnRelease="true"
       TestConnectionsOnReserve="true" TestTableName="systable"
       URL="jdbc:edbc://devdb:qa7/mydb"
XAPreparedStatementCacheSize="0"/>
   <JDBCTxDataSource EnableTwoPhaseCommit="true"
       JNDIName="IngresEpnDataSource" Name="IngresEpnDataSource"
       PoolName="IngresEpnPool" RowPrefetchEnabled="true"
Targets="server_development"/>
Grant Croker - 14 Aug 2006 14:17 GMT
> We are trying ( using WebLogic ) to connection to ingres using JDBC
> with a privileged user with the -u option.  The following connection
[quoted text clipped - 16 lines]
>         PoolName="IngresEpnPool" RowPrefetchEnabled="true"
> Targets="server_development"/>

try using dbms_user to emulate '-u'. See
http://downloads.ingres.com/download/connect.pdf#page=141 for the
complete list of properties/attributes.

g

Signature

Grant Croker, grantc@php.net    |||
Software Engineer, Ingres Corp  d-_-b
http://ingres.com

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.