如何用mysql数据库连接java [英] how to connect java with mysql database
本文介绍了如何用mysql数据库连接java的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
HI那里
我是netbeans的初学者并制作程序并希望将其与数据库连接,但在写完所有连接代码后,我在变量声明中得到错误。我的所有代码都是正确的但没有任何修改我开始得到错误。
有人可以通过使用teamviewer进行远程控制帮助我
HI there
i am beginner in netbeans and making a program and want to connect it with database, but after writing all the codes for connectivity i get error in "variable declaration". all my codes are correct but without any modification in these i started getting errors.
can somebody help me by taking remote control using teamviewer
推荐答案
RTFM
https://dev.mysql.com/doc/connector-j/en/connector-j-examples。 html [ ^ ]
你可以在google中使用hibernate
搜索你会发现很多例子
You can use hibernate
search in google you will find lot of exempls
这篇关于如何用mysql数据库连接java的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文