RE: Database in Netbean 5.0

"Jonathan Spencer" <[email protected]> Tue, 18 Apr 2006 08:07:42 +0100
Newsgroups gmane.comp.java.netbeans.education
Message-ID <[email protected]>
Not me

-----Original Message-----
From: Thanapong Sutthipongpracha [mailto:[email protected]]
Sent: 15 April 2006 16:28
To: [email protected]
Subject: Re: [nbedu] Database in Netbean 5.0


Hello Tiger,
    I'm not sure what you want but I think you need type \" into your string of sql query if you used Derby or Database as Pure java (SQLJ). 

Example:
---------------------
Common


String SQL = "Select * From TableName";


SQLJ


String SQL = "Select * From \"TableName\""; 





2006/4/14, aaa0715 (tiger) < [email protected]>: 

Hi,
 
I am having trouble find help on using database with NetBean 5.0.
 
I have the database setup using the Runtime tab in the IDE and I can even execute queries but my problem is how do I incorporate the queries, database connection into my project, that is how will I use this functionality, that is in runtime tab into my code in my project.
 
Thanks

Tiger