Hi!
Ok, I disabled the transaction context and I deleted the same entry (with "@") and exactly it was successful.
Type: Posts; User: sacara; Keyword(s):
Hi!
Ok, I disabled the transaction context and I deleted the same entry (with "@") and exactly it was successful.
Hi!
In fact I'm using transaction and it's necessary because if the other operation fails the rollback must apply so I must use transaction.
It's important to point out that in the same...
I'm sorry, this is the full stack trace
Exception: [LDAP: error code 65 - Object Class Violation]; nested exception is javax.naming.directory.SchemaViolationException: [LDAP: error code 65 -...
Hi!
This is the actual code snippet:
public void delete(TProfileDto tProfileDto) {
ldapTemplate.unbind(buildDn(tProfileDto.getTC()));
}
private Name buildDn(String tAccount) {
Hi!
I am trying to delete an entry in my LDAP Directory using ldaptemplate.unbind (name dn) method, the DN value of the entry contains the character "@" and I got the error "LDAP: error code 65 -...
Hi Everybody
I need to expose a WebService, and in my TransactionManager class I'm using the follow:
ApplicationContext context = new ClassPathXmlApplicationContext("JDBCContext.xml");
...
Ok, thanks rasky, I'll read about JTA transaction manager, and I hope that it can help me.
Hi
I need to have two JDBC and one LDAP connections (three connections) in a one transaction using ContextSourceAndDataSourceTransactionManager class. Is it possible?
Thanks
Hi Ulsa, I'm going to describe what I'm doing.
I need to use transaction for LDAP now (after a time, I'm going to incorporate JDBC transactions, so in the future I'm going to have two transactions:...
Ok, I already modified my class, and now I have problems with my xml. I put a piece of code of my xml before. I hope somebody could give me a favor to tell me my mistakes, I'm new with LDAP...
Debugging I saw the exception "java.lang.IllegalArgumentException: Key must not be null" for the LdapContextSource object
I forgot to said that I catch and Exception in the line "transactionTemplate.execute(new TransactionCallbackWithoutResult() {":
Exception in thread "main" java.lang.NullPointerException
at...
Hi Karldmoore, I'm going to try it.
But I changed to programatically manner using the ContextSourceTransactionManager class to perform a transaction LDAP, I saw the forum...
Thanks a lot for all of you, I modify my code, and I had an org.springframework.beans.factory.BeanCreationException:
Resource resource = new ClassPathResource("testContext.xml");...
I've been thinking about that the best manner of control my transactions is the programmatically manner, isn't it? well, I've been reading information about it and some examples aren't clear. I've...
Yes, here is my code:
resource = new ClassPathResource("testContext.xml");
factory = new XmlBeanFactory(resource);
ldapContact = (ProfileDaoImpl)factory.getBean("myDataAccessObjectTarget");...
Hi! Here is my configuration:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
<beans>
...
I did all necesary in my configuration file and didn't work, I don't know why, I forced my application to fail and the roll back didn't work. I will try to do the programmatic form, but I'm in the...
Ok Mattias, thank you for all, I like that it all works automagically :-D, and How can I do tests with the rollback action? Must I handle some Exception in my code?
In fact, I'm a little confused. I'm following the Spring LDAP Reference Documentation, the Transaction Support topic for LDAP transactions, and I made the changes in my xml file (declarative), but my...
Hi rasky
Thanks for the url. I have already read previously the sites that you recommend.
In the Reference Documentation I saw that the manner of update my configuration file, and my question...
Hi everybody.
I'm new in LDAP, and I've been looking for information about LDAP Transactions but I have not been successful.
I need to use transaction with Spring to LDAP, and just I have seen the...