[Training Video - 7] [Database connection] Various databases which are supported, Drivers for database connection, SQL Groovy API
2015-06-20 15:13
453 查看
Various databases which are supported
Drivers for database connection
groovy.sql.Sql package
[b]SoapUI怎样支持对数据库的操作[/b]
[b]Various databases which are supported[/b]
Groovy可以支持各种不同的数据库:MySQL, SQLServer, Oracle
[b]Drivers for database connection[/b]
不同的数据库需要下载不同的JAR包来支持,下载后将JAR包放到SoapUI的Lib目录,譬如
MySQL : mysql-connector-java-5.1.22.jar
Oracle : oracle-connector-java.jar
[b]SQL Groovy API[/b]
Groovy 有支持数据库的类库:
在Bing中搜索sql groovy,可以找到 Sql (Groovy 2.4.3),点击即打开这个网址:
http://docs.groovy-lang.org/latest/html/api/groovy/sql/Sql.html
通过Groovy的Class Sql可以连接到数据库,并对数据进行增删改查的操作,简称为CRUD
CRUD means :Create , Retrieve , Update, Delete
[b]在学习的过程中,如果需要连接数据库,可以安装一个MySQL, 也可以安装XAMPP,里面带有MySQL[/b]
可以从这里进行下载 : https://www.apachefriends.org/zh_cn/index.html
安装好XAMPP之后,启动MySQL:
然后通过命令行窗口可以查看SQL
=============Retail Webservice=================
download xamp - PHP server
Download retail application - In your videos account
Copy retail application in htdocs
Create database with name retail
=============Retail Webservice=================
[b]在SoapUI中如何使用数据库呢?[/b]
请看这里: http://www.soapui.org/JDBC/testing-jdbc-databases.html
Drivers for database connection
groovy.sql.Sql package
[b]SoapUI怎样支持对数据库的操作[/b]
[b]Various databases which are supported[/b]
Groovy可以支持各种不同的数据库:MySQL, SQLServer, Oracle
[b]Drivers for database connection[/b]
不同的数据库需要下载不同的JAR包来支持,下载后将JAR包放到SoapUI的Lib目录,譬如
MySQL : mysql-connector-java-5.1.22.jar
Oracle : oracle-connector-java.jar
[b]SQL Groovy API[/b]
Groovy 有支持数据库的类库:
在Bing中搜索sql groovy,可以找到 Sql (Groovy 2.4.3),点击即打开这个网址:
http://docs.groovy-lang.org/latest/html/api/groovy/sql/Sql.html
通过Groovy的Class Sql可以连接到数据库,并对数据进行增删改查的操作,简称为CRUD
CRUD means :Create , Retrieve , Update, Delete
[b]在学习的过程中,如果需要连接数据库,可以安装一个MySQL, 也可以安装XAMPP,里面带有MySQL[/b]
什么是XAMPP?
XAMPP是最流行的PHP开发环境
XAMPP是完全免费且易于安装的Apache发行版,其中包含Apache、MySQL、PHP和Perl。XAMPP开放源码包的设置让安装和使用出奇容易。可以从这里进行下载 : https://www.apachefriends.org/zh_cn/index.html
安装好XAMPP之后,启动MySQL:
然后通过命令行窗口可以查看SQL
=============Retail Webservice=================
download xamp - PHP server
Download retail application - In your videos account
Copy retail application in htdocs
Create database with name retail
=============Retail Webservice=================
[b]在SoapUI中如何使用数据库呢?[/b]
请看这里: http://www.soapui.org/JDBC/testing-jdbc-databases.html
相关文章推荐
- MySQL数据库远程连接开启方法
- redis主从的配置和使用
- com.mysql.jdbc.Driver和org.gjt.mm.mysql.Driver区别
- MySQL常用命令
- 【安德鲁斯】基于脚本的数据库"增量更新",如果不改变,每次更新java代码、!
- 组态ORACLE 11G ADG
- Windows 2008 + SQLServer 2008 双机群集
- Sql Server 中非常强大的日期格式化函数
- 【转】【mysql的设计与优化专题】mysql的最佳索引攻略
- mongodump备份数据库
- Windows Server 2003 下配置 MySQL 集群(Cluster)教程
- 为mongodb创建授权
- MySQL常用命令汇总
- 图书管理系统(mysql部分) 初步设…
- mysql 数据库优化(未完)
- mysql 存储过程的一个bug或者是我…
- mysql 学习总结
- mysql 索引(index)
- mysql 存储过程(procedure)
- mysql 存储引擎  和 事务