Thanx Mark

But i am new to MySQL...

First of all i would like to know the basic difference between Inno DB and
My ISAM Table types..

I wanted mySQL to support AutoIncrement , Transactions,Foreign Key
Constraints,Blob, Text etc...so as per the documents i thought of using a
InnoDB Table...

Currently i am using 3.23.49 Max on Win 2K...I created two tables  parent
and child

CREATE TABLE parent(id INT NOT NULL,PRIMARY KEY (id)) TYPE=INNODB;

CREATE TABLE child(id INT, parent_id INT,INDEX par_ind (parent_id),FOREIGN
KEY (parent_id) REFERENCES parent(id) ON DELETE CASCADE) TYPE=INNODB;

After creating the tables when i executed the Query
mysql>show table status

This says that the Table is of type MyISAM.

This confuses me a lottt...Also the table i had created is not working for
Foreign Key Relations..
What could be the soltuion...Kindly Advice

-Arul
----- Original Message -----
From: "Mark Matthews" <[EMAIL PROTECTED]>
To: "Arul" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; "MySQL" <[EMAIL PROTECTED]>
Sent: Thursday, May 30, 2002 4:47 PM
Subject: Re: JDBC Transactions


> Arul wrote:
>
> >Hi All,
> >
> >We are currently running a website which is running on Weblogic and
Oracle
> >DB.I just thought of porting it to JBoss and MySQL.
> >
> >Well..i am not sure how far does MySQL supports Transactions..
> >I am currently using 3.23.49 Max on Win 2K.
> >
> >Does this version of MySQL Supports transaction...
> >
> >-Arul
> >
> >
> Yes. You will need to use a transaction-capable table type like InnoDB
> (preferred) or BDB to get true transaction semantics.
>
>     -Mark
>


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to