LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 01-08-2005, 11:06 PM   #1
pranith
Member
 
Registered: Sep 2004
Location: Hyd,India
Posts: 83

Rep: Reputation: 15
embedding sql in java


hi,
plz help me out in knowing how to embed sql in java.
bye.
 
Old 01-09-2005, 01:42 AM   #2
melinda_sayang
Member
 
Registered: Dec 2003
Location: Jakarta
Distribution: Gentoo
Posts: 473

Rep: Reputation: 31
First you need to install embedded database written for java language such as Cloudscape ( http://www-306.ibm.com/software/data/cloudscape/ ) and hsqldb ( http://hsqldb.sourceforge.net/ ) and mckoi ( http://www.mckoi.com/database/ ). Install it and read the documentation.... If you got stuck, ask question here....
 
Old 01-09-2005, 01:57 AM   #3
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Ubuntu, OEL
Posts: 9,165

Rep: Reputation: 243Reputation: 243Reputation: 243
Not sure if you want to embed a sql database (melinda_sayang's answer) or just some sql code in java to access a remote database, but in any case a good startpoint is the jdbc tutorial:
http://java.sun.com/docs/books/tutorial/jdbc/index.html
 
Old 04-09-2010, 09:08 AM   #4
SNK111
LQ Newbie
 
Registered: Apr 2010
Posts: 2

Rep: Reputation: 0
Embedding SQL in Java, passing parameters, calling store procedure etc

If you want to embed SQL queries in Java database applications, check this link: EMBEDDING SQL IN JAVA.

It describes in detail how to embed SQL in Java (as well as C#.NET), how to call stored procedures from Java and pass parameters to the SQL queries and stored procedures.

Shahriar Nour Khondokar
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
java.lang.InstantiationException: java.sql.Connection poeta_boy Programming 2 07-06-2005 08:26 PM
Java/M$ SQL Server SLaCk_KiD Linux - Software 1 12-19-2004 10:03 AM
java code executing SQL statements problem randomx Programming 1 11-09-2004 10:59 AM
Sql Problem (java Program) keikun_naruchan Programming 1 06-03-2004 10:19 PM
How to create java.sql.Clob oblect prai Programming 0 10-14-2003 04:19 AM


All times are GMT -5. The time now is 04:48 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration