首页 技术 正文
技术 2022年11月10日
0 收藏 959 点赞 2,862 浏览 1078 个字

Various databases which are supported

Drivers for database connection

groovy.sql.Sql package

SoapUI怎样支持对数据库的操作

Various databases which are supported

Groovy可以支持各种不同的数据库:MySQL, SQLServer, Oracle

Drivers for database connection

不同的数据库需要下载不同的JAR包来支持,下载后将JAR包放到SoapUI的Lib目录,譬如

MySQL : mysql-connector-java-5.1.22.jar

Oracle : oracle-connector-java.jar

SQL Groovy API

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

在学习的过程中,如果需要连接数据库,可以安装一个MySQL, 也可以安装XAMPP,里面带有MySQL

什么是XAMPP?

XAMPP是最流行的PHP开发环境

XAMPP是完全免费且易于安装的Apache发行版,其中包含Apache、MySQL、PHP和Perl。XAMPP开放源码包的设置让安装和使用出奇容易。

可以从这里进行下载 : https://www.apachefriends.org/zh_cn/index.html

安装好XAMPP之后,启动MySQL:

[Training Video – 7] [Database connection] Various databases which are supported, Drivers for database connection, SQL Groovy API

然后通过命令行窗口可以查看SQL

[Training Video – 7] [Database connection] Various databases which are supported, Drivers for database connection, SQL Groovy API

=============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=================

[Training Video – 7] [Database connection] Various databases which are supported, Drivers for database connection, SQL Groovy API

在SoapUI中如何使用数据库呢?

请看这里: http://www.soapui.org/JDBC/testing-jdbc-databases.html

上一篇: cannot find -lf2c
相关推荐
python开发_常用的python模块及安装方法
adodb:我们领导推荐的数据库连接组件bsddb3:BerkeleyDB的连接组件Cheetah-1.0:我比较喜欢这个版本的cheeta…
日期:2022-11-24 点赞:878 阅读:9,023
Educational Codeforces Round 11 C. Hard Process 二分
C. Hard Process题目连接:http://www.codeforces.com/contest/660/problem/CDes…
日期:2022-11-24 点赞:807 阅读:5,513
下载Ubuntn 17.04 内核源代码
zengkefu@server1:/usr/src$ uname -aLinux server1 4.10.0-19-generic #21…
日期:2022-11-24 点赞:569 阅读:6,360
可用Active Desktop Calendar V7.86 注册码序列号
可用Active Desktop Calendar V7.86 注册码序列号Name: www.greendown.cn Code: &nb…
日期:2022-11-24 点赞:733 阅读:6,143
Android调用系统相机、自定义相机、处理大图片
Android调用系统相机和自定义相机实例本博文主要是介绍了android上使用相机进行拍照并显示的两种方式,并且由于涉及到要把拍到的照片显…
日期:2022-11-24 点赞:512 阅读:7,774
Struts的使用
一、Struts2的获取  Struts的官方网站为:http://struts.apache.org/  下载完Struts2的jar包,…
日期:2022-11-24 点赞:671 阅读:4,852