NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

MySQL Database Desktop Application Project

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
munchkinbizkit
Posted via mailing list.





PostPosted: Thu Mar 18, 2010 11:23 am    Post subject: MySQL Database Desktop Application Project Reply with quote

Hi Ishwar,

I face the same problem with sergio and found this thread. I have check that
my table are already in InnoDB engine. What more cause the problem?
Thanks.



ISHWAR CHAND JINDAL wrote:
Quote:

Hi Sergio,
Engines other than Innodb does not support foreign key in MySql tables. I
also encountered same problem.
You make tables in INNODB engine and problem will be resolved.
You can create table in Innodb by adding engine= innodb in the script, as
shown hereunder for table CUSTOMERS:


CREATE TABLE CUSTOMERS (
ID INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY,
FIRST_NAME VARCHAR(20),
LAST_NAME VARCHAR(30),
ADDRESS VARCHAR(30),
CITY VARCHAR(30),
STATE_ VARCHAR(30),
ZIP VARCHAR(15),
COUNTRY_ID INTEGER,
PHONE VARCHAR(15),
EMAIL_ADDRESS VARCHAR(50)
)ENGINE= INNODB ;

Regards

IC Jindal





----- Original Message ----
From: JulioSergio <address-removed>
To: address-removed
Sent: Friday, 15 August, 2008 6:17:13 PM
Subject: [nbusers] MySQL Database Desktop Application Project


Following the example "Creating a Custom Java Desktop Database
Application"
given in http://www.netbeans.org/kb/61/java/gui-db-custom.html, I was
trying
to create such MySQL Database Desktop Application that requires to show
the
"Detail Area" as a Table. However, after defining the Mastertable in the
"New Desktop Application" wizard, it responds with an "Options" page that
has the required "Table" option disabled! as it is shown in the image
below
http://www.nabble.com/file/p19006879/IDE_DB.jpg

Do you know if this has to do with MySQL version or with something I
forgot
to configure in my Netbeans 6.1?

Thanks,

Sergio.
--
View this message in context:
http://www.nabble.com/MySQL-Database-Desktop-Application-Project-tp19006879p19006879.html
Sent from the Netbeans - Users mailing list archive at Nabble.com.


From Chandigarh to Chennai - find friends all over India. Go to
http://in.promos.yahoo.com/groups/citygroups/




--
View this message in context: http://old.nabble.com/MySQL-Database-Desktop-Application-Project-tp19006879p27941392.html
Sent from the Netbeans IDE Users mailing list archive at Nabble.com.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo