RE: SQL DELETE

2006-08-06 Thread rambabu.piridi
    CREATE TABLE CHILD (F1 from ROOT_TABLE VARCHAR (80), FOREIGN KEY (F1) REFERENCES ROOT_TABLE (USR_ID) ON DELETE CASCADE);   THis will work.     Thanks n Regards, = Rambabu Piridi. Software Engineer, Wipro Technologies, Madhapur, Hyderabad.   e-Mail : [EMAIL

Re: SQL DELETE

2006-08-06 Thread Clinton Begin
No.  iBATIS is not an Object Relational Mapper.  It is not aware of relationships and therefore does not automatically delete related records.Clinton On 8/7/06, Socheat KHAUV <[EMAIL PROTECTED]> wrote: Do we have another way beside using trigger and  ON DELETE CASCADE?this is DBMS functions,beside

Re: What is purpose of TypeHandler

2006-08-06 Thread Clinton Begin
Type handlers handle the translation between Java types and database types.  You can customize them, but you don't need to.  The advantage is that you can deal with complex or unique types not supported by default.  You seem new to iBATIS, so to begin with, you will likely not have to worry about

Re: SQL DELETE

2006-08-06 Thread Socheat KHAUV
Do we have another way beside using trigger and  ON DELETE CASCADE?this is DBMS functions,beside using DBMS Does iBatis can delete the child record auto when we delete the master record ?Nils Winkler <[EMAIL PROTECTED]> wrote: In Oracle I define this at the table level using "ON DELETE CASCADE" ont

Re: SQL DELETE

2006-08-06 Thread Nils Winkler
In Oracle I define this at the table level using "ON DELETE CASCADE" on the foreign key relationship. On Sun, 6 Aug 2006 23:13:31 -0700 (PDT), "Socheat KHAUV" <[EMAIL PROTECTED]> said: > Dear iBatis user, > > Does iBatis support auto delete data dependency when we delete master > record ? > if it

What is purpose of TypeHandler

2006-08-06 Thread Socheat KHAUV
Could you give some clue ?what is the advantage of TypeHandler and how to use it ? Groups are talking. We´re listening. Check out the handy changes to Yahoo! Groups.

SQL DELETE

2006-08-06 Thread Socheat KHAUV
Dear iBatis user,Does iBatis support auto delete data dependency when we delete master record ?if it is support could tell me way to do ?thank in advance,PkayJava Yahoo! Music Unlimited - Access over 1 million songs. Try it free.

Re: Does JDBC 4.0 make iBATIS redundant?

2006-08-06 Thread Gilles Bayon
I agree with other, I see very little use for this annotation. For my concern, on my project, only 10% of mapping could be made like this. I prefer SQL in XML. For test the SQL is accessed via Uri because we can change it without recompiling and for other layer it is embedded as resource.-- Cheers,