wood burning stoves 2.0*
The moose likes JDBC and the fly likes code in mysql to connect java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "code in mysql to connect java" Watch "code in mysql to connect java" New topic
Author

code in mysql to connect java

jyoti mahajan
Greenhorn

Joined: Nov 18, 2010
Posts: 27
Hello friend,

In java we write JDBC code to connect MySQL in our application.Is there any process we write some code in MySQL script which help to run java application.

Can we run java application in MySQL?

Regards
Wendy Gibbons
Bartender

Joined: Oct 21, 2008
Posts: 1107

i know you can run java from oracle, but i don't think mysql supports it.
jyoti mahajan
Greenhorn

Joined: Nov 18, 2010
Posts: 27
Please give CODE. please let me know if it is support other free ware database like post gres...
Wendy Gibbons
Bartender

Joined: Oct 21, 2008
Posts: 1107

here is a link to an oracle page which gives much more information that i could, as i have never done it, just know it can be done.

http://docs.oracle.com/cd/B19306_01/java.102/b14187/chthree.htm
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19761
    
  20

jyoti mahajan wrote:Please give CODE.

We are NotACodeMill.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
jyoti mahajan
Greenhorn

Joined: Nov 18, 2010
Posts: 27
thanks for the link....Dear I am not asking for CODE....i just want a clue which will help me.
Martin Vajsar
Sheriff

Joined: Aug 22, 2010
Posts: 3611
    
  60

There is a free edition of Oracle database with somewhat limited capabilities. Check out our Oracle FAQ.
Jugal Thakkar
Greenhorn

Joined: Jun 30, 2013
Posts: 1
jyoti mahajan wrote:Hello friend,

In java we write JDBC code to connect MySQL in our application.Is there any process we write some code in MySQL script which help to run java application.

Can we run java application in MySQL?

Regards



Hi,
Here is the Explanation for the Java Code from MySQL

See that Link.
http://planet.mysql.com/entry/?id=13420
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: code in mysql to connect java