Re: 1. onDelete 2. 1:n association

2004-07-30 Thread Artur Z
hello I tried to use torque onDelete attribute on MSSQL but it did't wokred db was throwing an exception about constraint violation maybe I did something wrong As a matter of curiosity: what kind of Java code would you want to generate? first of all that generates java code, which is generated

Re: 1. onDelete 2. 1:n association

2004-07-30 Thread T E Schmitz
Hello Artur, Artur Z wrote: I tried to use torque onDelete attribute on MSSQL but it did't wokred db was throwing an exception about constraint violation maybe I did something wrong This sounds more like a problem with your schema. What do you want to do onDelete? onDelete=none or

Re: 1. onDelete 2. 1:n association

2004-07-30 Thread T E Schmitz
Artur Z wrote: Company company = new Company(); Address address = new Address(); company.setAddress(address); company.save(conn); // I'd like that this saves also address but it does not //but the most important thing is that when I call: address.save(conn); //an exception will be thrown -

Solution for Log4j error

2004-07-30 Thread Thoralf Rickert
Hi all! I'm not on this list, but I think, you are or someone who's looking for an answer is interested in solving the log4j error in torque-gen und torque. The problem is, that torque and torque-gen report a problem, that there is no log4j appender for org.apache.torque-gen.engine and

does onDelete SET NULL works in MSSQL ?

2004-07-30 Thread Artur Z
hello if not please advice any work around (triggers does not work) thanks Artur