ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From karthi palanisamy <karthi.palanis...@orangescape.com>
Subject java.sql.SQLException: LDAP Does Not Support Transactions
Date Wed, 06 Feb 2008 05:59:33 GMT

I have wriiten a ant task to insert a user in ADS using ldapjdbc driver. Its
throwing java.sql.SQLException: LDAP Does Not Support Transactions error any
idea on this..
My source code is

<?xml version="1.0"?>

<project default="main" basedir=".">
 	

 <target name="main" >
 	<sql
 	    driver="com.octetstring.jdbcLdap.sql.JdbcLdapDriver"
 	    url="jdbc:ldap://10.0.0.110:389/?SEARCH_SCOPE:=subTreeScope"
 	    userid="CN=Administrator,CN=Users,DC=osn,DC=com"
 	    password="orange"
 	 		escapeprocessing="true"
 	 	>
 	    <classpath>
 	    	<pathelement location="c:/Derby/jdbcLdap.jar"/>
 	    	<pathelement location="c:/Derby/ldap.jar"/>
 	    	 
 	</classpath>
 		INSERT INTO  CN=kavin,CN=Users,DC=osn,DC=com
(objectClass,objectClass,objectClass,objectClass,cn,sn,sAMAccountName,userPassword 
 		VALUES
('top','person','organizationalPerson','user','kavin','kavin','kavin','kavin');
 	</sql> 
  </target>
  
</project>

-- 
View this message in context: http://www.nabble.com/java.sql.SQLException%3A-LDAP-Does-Not-Support-Transactions-tp15305948p15305948.html
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message