[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: Bug in JDBC-LDAP Bridge - JndiLdapConnection
- To: Suraj.AMIN@syntegra.com, OpenLDAP-software@OpenLDAP.org
- Subject: RE: Bug in JDBC-LDAP Bridge - JndiLdapConnection
- From: Marc Boorshtein <mboorshtein@yahoo.com>
- Date: Tue, 8 Mar 2005 10:16:36 -0800 (PST)
- Cc: mboorshtein@yahoo.com
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=iv4gze8xaHLYmFRzvfiIoa5VfWNAfkS+G+AMTRyObTwc0EOjqXj1ouLdoTJG7uJMu37c8zDR8aDBTPmuIuxI+rvWfbjW1VJcpk9K8qUxLTRQFCULf5TWOutiWxTEph2TpfdcheZs96IpR/Rd1V646Kq/BXlUJFuuFB3dEv4UR4M= ;
- In-reply-to: 6667
ITS is the issue tracking system the openldap sight
uses:
http://www.openldap.org/its/
--- Suraj.AMIN@syntegra.com wrote:
> Please excuse my ignorance but can you let me know
> whats an ITS ticket?
> Is it some kinda support ticket?
> And how about do I open one?
>
>
> Regards,
>
> Suraj Amin
>
>
> -----Original Message-----
> From: Marc Boorshtein [mailto:mboorshtein@yahoo.com]
>
> Sent: 08 March 2005 15:21
> To: AMIN, Suraj -Syntegra - UK;
> OpenLDAP-software@OpenLDAP.org
> Subject: Re: Bug in JDBC-LDAP Bridge -
> JndiLdapConnection
>
>
> This will be fixed in the next release. The
> "build-jar" task in the build.xml file can be used
> to
> re-build with this fix. Have you oppened an ITS
> ticket? If not, can you please do so?
>
> Thanks
> Marc Boorshtein
>
>
> --- Suraj.AMIN@syntegra.com wrote:
> > As per the documention of JDBC-LDAP Bridge on
> > OctetString's website regarding
> > the properties that can be passed in the
> > ldapConnectString:-
> > ignore_transactions: set to true if calls to
> > setAutoCommit(), commit() and
> > rollback() should be ignored. Default is false.
> >
> > I was using Apache's dbcp to manage my connections
> > to various databases
> > including connections to my ldap servers. However
> > when the
> > org.apache.commons.dbcp.BasicDataSource
> initializes
> > it does certain
> > validations during it makes calls to the
> connection
> > objects setAutoCommit(),
> > rollback(), etc.
> >
> > If the ignore_transactions property is not sent
> via
> > the ldapConnectString,
> > any calls to setAutoCommit(), commit() and
> > rollback() methods in
> com.octetstring.jdbcLdap.jndi.JndiLdapConnection
> > results in
> > SQLException("LDAP Does Not Support Transactions")
> > being thrown. The above is
> > done via a:
> > if (! this.ignoreTransactions) {
> > throw new SQLException("LDAP Does Not Support
> > Transactions");
> > }
> >
> > But the rollback() method does not have the above
> if
> > block and throws a
> > SQLException directly.
> >
> > The source code of JndiLdapConnection can be found
> > at:
> >
>
http://www.openldap.org/devel/cvsweb.cgi/~checkout~/src/com/octetstring/jdbcL
> >
>
dap/jndi/JndiLdapConnection.java?rev=1.4&cvsroot=JDBCLDAP&hideattic=1&sortbyd
> > ate=0
> >
> > Regards,
> >
> > Suraj Amin
> >
> >
> >
>
********************************************************************
> >
> > This email may contain information which is
> > privileged or confidential. If you are not the
> > intended recipient of this email, please notify
> the
> > sender immediately and delete it without reading,
> > copying, storing, forwarding or disclosing its
> > contents to any other person
> > Thank you
> >
> > Check us out at http://www.bt.com/consulting
> >
> >
>
********************************************************************
> >
>
>
>
********************************************************************
>
> This email may contain information which is
> privileged or confidential. If you are not the
> intended recipient of this email, please notify the
> sender immediately and delete it without reading,
> copying, storing, forwarding or disclosing its
> contents to any other person
> Thank you
>
> Check us out at http://www.bt.com/consulting
>
>
********************************************************************
>
>