在eclipse中使用mysql配置spring [英] configuration of spring with mysql in eclipse

查看:130
本文介绍了在eclipse中使用mysql配置spring的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我已经使用Spring Frame Work设计了一个用户注册表单,我想使用mysql配置该用户注册表单.当我提交反映数据库的凭据时,如何执行此代码

Hai


I have designed a user registration form using spring frame work I want to configure this user registration form with mysql. when i submit the credentials that reflect on database how to perfom this code

推荐答案

我相信您还没有尝试过任何尝试,所以我会给您所需的大纲.

0.具有USER表的数据库,该表包含rsdtorage所需的字段-确实不难.
1.在您的应用程序中,连接到数据库.
2.创建一个用于插入数据的数据库会话.
3.验证用户输入并插入一条记录.

工作完成.不用担心搜索,这是我找到的第一个结果 [
I believe you haven''t weven tried anything, so I''ll give you the outline of what is needed.

0. A database with a USER table containing the fields required fo rsdtorage - not hard really.
1. In your application connect to the database.
2. Create a db session for inserting the data.
3. Validate the user input and insert a record.

Jobs done. As you haven''t bothered searching, here''s the first result I found[^] on the subject.


这篇关于在eclipse中使用mysql配置spring的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆