- Linux MariaDB使用OpenSSL安装SSL证书
Meta39
MySQLOracleMariaDBLinuxWindowsssllinuxmariadb
进入到证书存放目录,批量删除.pem证书警告:确保已经进入到证书存放目录find.-typef-iname\*.pem-delete查看是否安装OpenSSLopensslversion没有则安装yuminstallopensslopenssl-devel开启SSL编辑/etc/my.cnf文件(没有的话就创建,但是要注意,在/etc/my.cnf.d/server.cnf配置了datadir的,
- mariadb主从配置步骤
秋月霜风
其他知识标记mariadbandroidadb
mariadb主从配置步骤配置开始前注意关闭主从服务器的防火墙或者确保主从服务器之间数据库通信正常;主服务器(主IP)配置a.编辑主服务器的MariaDB配置文件:sudovim/etc/my.cnf.d/mariadb-server.cnfb.在[mysqld]部分添加或修改以下内容:[mysqld]server-id=1log-bin=/var/log/mariadb/mysql-binbin
- 数据库管理的利器Navicat —— 全面测评与热门产品推荐
界面开发小八哥
数据库Navicat数据库开发sqlmysql
在数据库管理领域,Navicat无疑是一款深受欢迎的软件。作为一个强大的数据库管理和开发工具,它支持多种数据库类型,包括MySQL、MariaDB、MongoDB、SQLServer、Oracle、PostgreSQL等。本文将全面测评Navicat的核心功能,同时推荐几款热门的Navicat产品。Navicat的主要特点1.跨平台支持:Navicat支持Windows、Mac和Linux平台,可
- 通过DBeaver连接Phoenix操作hbase
不想做咸鱼的王富贵
通过DBeaver连接Phoenix操作hbase前言本文介绍常用一种通用数据库工具Dbeaver,DBeaver可通过JDBC连接到数据库,可以支持几乎所有的数据库产品,包括:MySQL、PostgreSQL、MariaDB、SQLite、Oracle、Db2、SQLServer、Sybase、MSAccess、Teradata、Firebird、Derby等等。商业版本更是可以支持各种NoSQ
- MHA+MYCAT 高可用架构
第九系艾文
linuxLinuxtools服务器数据库mycatmhalinux
架构图如下:本次是4服务器架构如下环境:centos7.2x64mariadb10.4MHA5.7MyCat1.6.7IP规划IP功能10.1.41.166VIP10.1.41.167master,mycat,mha.node10.1.41.168slave(master),mha.node10.1.41.165slave,mycat,keepalived10.1.41.169slave,myca
- 容器化部署mariadb数据库
第九系艾文
技能linuxLinuxtools
compose文档:Composespecification|DockerDocumentation容器地址及文档:DockerHub部署环境依赖1.docker-ce安装a.卸载老版本的dockersudoyumremovedocker\docker-client\docker-client-latest\docker-common\docker-latest\docker-latest-log
- powerdns配置
weixin_33701251
php数据库运维
系统:centos7组成软件:epel仓库、mariadb数据库、powerdns步骤1:安装epel仓库yum install epel-release.noarch2:安装mariaDByum -y install mariadb-server mariadb3.设置服务开机启动和启动Mariadbsystemctl enable mariadb.servicesystemcatl start
- 安装owncloud
跻峰造极
软件构建云计算
一、部署LAMP环境#安装httpd,mariadb[root@localhost~]#yum-yinstallhttpdmariadbmariadb-server#添加EPEL存储库[root@localhost~]#yum-yinstallepel-release#添加REMI存储库[root@localhost~]#yum-yinstallhttps://rpms.remirepo.ne
- mariadb安装
玄天剑锋
数据库mysql运维
1.配置官方的mariadb的yum源,手动创建mariadb.repo仓库文件touch/etc/yum.repos.d/mariadb.repo然后写入如下内容[mariadb]name=MariaDBbaseurl=http://mirrors.ustc.edu.cn/mariadb/yum/10.5/centos7-amd64/gpgkey=https://yum.mariadb.org/
- Install MariaDB
weixin_33998125
数据库运维
1.yuminstallmariadb-servermariadb2.systemctlenablemariadb;systemctlstartmariadb3.mysql_secure_installation4.mysql-uroot-pmysql-e"SELECTUser,HostFROMuser"5.mysql-uroot-p6.CREATEDATABASEdb1CHARACTERSETu
- node.js通过typeorm连接mysql/mariadb
Xamsach.
nodejsmysqlmariadb
本文示范node.js通过typeorm实现插入和访问mariadb1).通过npm全局安装typeorm包(由于npm安装过程网上的示例太多本文不再演示,没安装的可以自行查找安装方法)注:可能需要管理员身份运行commandnpminstalltypeorm-g1.1).检查安装是否成功2).创建一个新的typeormdemotypeorminit--nameMyProject--databas
- Navicat
Botiway
FlaskWebpython后端web3flasklinux
Navicat是一款功能强大的数据库管理工具,它支持多种数据库系统,包括MySQL、MariaDB、MongoDB、SQLServer、SQLite、Oracle、PostgreSQL等,以及云数据库如阿里云、腾讯云、华为云等。Navicat提供了直观的用户界面(GUI)和丰富的功能,旨在简化数据库的开发、管理和维护工作。以下是Navicat的一些主要特点和功能:多数据库支持:Navicat允许用
- linux 离线安装依赖问题
mengyu822_csdn
linux运维
例:需要离线安装mariadb-devel找台有网的系统一样的机器指定软件包下载路径yum--downloadonly--downloaddir=/home/packagesinstallmariadb-devel进入/home/packages下执行rpm-ivh*.rpm
- Rocky Linux 8.8 离线安装Mariadb 10.11.7
恒云客
linuxmariadb运维
用户在阿里购买了一台无公网的云服务器,不能用yum进行安装,用离线方式进行了安装。1、创建一个不指定home目录帐号useradd-s/sbin/nologin-Mmysql2、下载官方二进制安装压缩包wgetmariadb-10.11.7-linux-systemd-x86_64.tar.gz3、解压指定目录/usr/localtarzxvfmariadb-10.11.7-linux-syste
- Mariadb Galera集群离线部署(纯离线)
Saulstone
运维Linux笔记mariadb运维docker
注:该离线部署完全处于离线的情况部署的,是通过自己在电脑上虚拟机测试通过的。完整的资源位于mysqlgalera集群离线部署,所有需要用的配置文件、软件包都在这个压缩包里面,且里面有自己编写的自动化部署脚本,可以直接运行安装,可供学习交流。前期准备服务器环境系统版本Mariadb版本主机IP节点名称CentOS7.9Mariadb-10.5.12192.168.247.10galera1CentO
- 如何在 MySQL 中使用 Socket 身份验证 ?
鸠摩智首席音效师
mysql数据库
在MySQL和MariaDB中,可以使用socket身份验证,而不是传统的用户名和密码组合。这种方法既安全又方便,因为它使用的是操作系统的用户凭证。什么是Socket身份验证?Socket身份验证允许使用Unix或Linux用户凭证连接到数据库,这对于安全环境非常有用。这简化了登录过程,消除了频繁用户输入密码的要求。Step1:CreateaUnix/LinuxUser如果您还没有一个UNIX/L
- macOS 10.15 brew Error: [email protected] has been disabled because it is not supported upstream! 异常解决方法
tekin
macosmacosbrewmariadbinstallbrewedit
在macOS10.15中使用brew安装
[email protected]时会提示已经被禁止,原因是上游不支持.这个是因为目前苹果对10.15版本的系统已经不再支持导致.异常信息:
[email protected]==>Downloadinghttps://mirrors.ustc.edu.cn/homebrew-bottles/api/formula.jws.jso#=#=#==>Downlo
- macos 使用port安装mariadb/mysql数据库服务器
tekin
macos数据库macosmariadbportinstall
在mac下安装mariadb/mysql数据库服务器的方式有多种,可以直接下载官方安装包安装,或者使用port,brew这类macos下的专业包管理工具安装,推荐使用port包管理工具来安装mysql数据库服务器.使用方法如下:先使用portsearchxxx查找要安装的软件都有哪些安装包命令:portsearchmariadb可见这里找到了50个相关的软件包,这个port还是很强大的哦!>por
- 【选型】数据库 Mysql MariaDB 存储引擎选择
我是Superman丶
数据库架构心得数据库mysqlmariadb
【选型】数据库MysqlMariaDB存储引擎选择MariaDB新增十多个存储引擎,比较有特色的有:(1)Aria:适用于快速读取快速写入场景,替代为人诟病的MyISAM,支持事务,支持崩溃恢复;(2)TokuDB:适用于大数据量写入场景,支持事务,支持高压缩比,减少存储空间;(3)Spider:适用于水平分片场景,支持数据分片,将数据分布在多个服务器上;(5)DynamicComumns:支持动
- 【ERPNext】Frappe、Bench、Bench CLI、 ERPNext、Desk
烟话6
python
文章目录Frappe:Bench:BenchCLI:ERPNext:Desk:Frappe:提示:就是一个开源的Web应用程序框架Frappe是一个开源的Web应用程序框架,用于构建数据驱动的应用。它的核心特点包括:MVC架构:Frappe基于模型-视图-控制器(MVC)架构,使代码结构清晰,便于维护和扩展。集成数据库:Frappe使用MariaDB/MySQL作为后端数据库,并提供ORM(对象关
- prometheus监控mysql指标_Prometheus监控MySQL服务(六)
weixin_39760689
一、监控使用mysqld_exporter插件支持的MySQL和MariaDB版本:5.5及以上,需要注意的MySQL/MariaDBCREATEUSER'exporter'@'192.168.5.237'IDENTIFIEDBY'exporter';GRANTPROCESS,REPLICATIONCLIENT,SELECTON*.*TO'exporter'@'192.168.5.237';Que
- Kubernetes(k8s)中部署WordPress
条纹布鲁斯
kubernetes容器云原生
在Kubernetes(k8s)中部署WordPress通常涉及创建一个Deployment来管理WordPress的Pod,以及一个Service来暴露WordPress应用。此外,由于WordPress需要数据库支持,你还需要部署一个MySQL或MariaDB的Pod和Service。以下是一个基本的示例,展示了如何使用YAML文件在Kubernetes中部署WordPress和MySQL。M
- Navicat for MySQL:卓越的跨平台数据库管理开发工具
平安喜乐616
数据库mysqlNavicatforMySQL数据库管理开发工具
NavicatforMySQL是一款专为数据库管理员和开发人员设计的强大数据库管理开发工具,支持Mac和Windows操作系统,为用户提供了高效、便捷的数据库操作体验。无论是管理MySQL还是MariaDB数据库,NavicatforMySQL都能轻松胜任。一、直观易用的图形界面NavicatforMySQL通过直观的图形界面,简化了复杂的数据库操作。用户无需编写复杂的SQL语句,即可轻松进行数据
- k8s 部署 Mysqld_exporter 以及添加告警规则
一腔热血1007
kuberneteslinux容器mysql
最近监控mysql数据库,用了pmm-server、pmm-client发现监控是真的不太好用,还是用回prometheus吧。部署mysqld_exporterk8s部署最新版本的mysqld_exporter,支持的数据库版本MySQL>=5.6、MariaDB>=10.3。先在数据库创建用户以及授权CREATEUSER'exporter'@'%'IDENTIFIEDBY'XXXXXXXX'W
- CentOS7版本安装mysql
梦会实现
JAVAmysqlspringbootlinux
文章目录1.安装mysql的前置条件2.清理原有的mysql数据库3.查看是否安装mariadb4.安装mysql依赖包5.解压缩mysql包6.安装目录赋权限(注:R必须是大写)7.创建MySQL组8.将mysql目录的权限授给mysql用户和mysql组9.创建mysql安装初始化配置文件10.初始化mysql11.启动MySQL服务12.mysql加入系统进程中13.修改随机登录密码14.设
- Linux~MySQL数据库具体操作
linuxMinx
数据库
一、数据库的字符集编码设置(一)查看数据库默认的字符集MariaDB[(none)]>showvariableslike'%character%';+--------------------------+----------------------------+|Variable_name|Value|+--------------------------+--------------------
- Mysql数据库MariaDB数据库MHA高可用程序
yichen_china
声明:本次实验使用的是MariaDB数据库,所以本文中所出现的MariaDB与MySQL都是指的是MariaDB!!!MHA(MasterHA)是一款开源的MySQL的高可用程序,它为MySQL主从复制架构提供了automatingmasterfailover功能。MHA在监控到master节点故障时,会提升其中拥有最新数据的slave节点成为新的master节点,在此期间,MHA会通过于其它从节
- 搭建MySQL可视化Web界面服务器
浪荡的三木先生
MySQLlinuxmysqlphp数据库
利用Apache搭建MySQL可视化Web界面服务器1.前言LAMP环境就是Linux+Apache+Mysql+PHP。甲骨文公司收购了MySQL后,有将MySQL闭源的潜在风险。MariaDB数据库管理系统是MySQL的一个分支,主要由开源社区在维护,采用GPL授权许可。因此目前Mysql被MariaDB所代替。MariaDB的目的是完全兼容MySQL,包括API和命令行,使之能轻松成为MyS
- CentOS7下使用yum安装MariaDB
爱吃西瓜大人
Linux
转载自:https://www.cnblogs.com/river2005/p/6813618.htmlCentOS6或早期的版本中提供的是MySQL的服务器/客户端安装包,但CentOS7已使用了MariaDB替代了默认的MySQL。MariaDB数据库管理系统是MySQL的一个分支,主要由开源社区在维护,采用GPL授权许可MariaDB的目的是完全兼容MySQL,包括API和命令行,使之能轻松
- MariaDB CentOS 安装的时候如何确定 Repo 地址
HoneyMoose
MariaDB
在CentOS安装MariaDB数据库的时候,yum安装显示没有匹配的安装包。我们应该如何配置能够让安装成功呢?你需要在你的CentOS中编辑/etc/yum.repos.d/MariaDB.repo文件。这个文件的内容,你可以访问:https://downloads.mariadb.org/mariadb/repositories/#distro=CentOS&mirror=supportex找
- html
周华华
html
js
1,数组的排列
var arr=[1,4,234,43,52,];
for(var x=0;x<arr.length;x++){
for(var y=x-1;y<arr.length;y++){
if(arr[x]<arr[y]){
&
- 【Struts2 四】Struts2拦截器
bit1129
struts2拦截器
Struts2框架是基于拦截器实现的,可以对某个Action进行拦截,然后某些逻辑处理,拦截器相当于AOP里面的环绕通知,即在Action方法的执行之前和之后根据需要添加相应的逻辑。事实上,即使struts.xml没有任何关于拦截器的配置,Struts2也会为我们添加一组默认的拦截器,最常见的是,请求参数自动绑定到Action对应的字段上。
Struts2中自定义拦截器的步骤是:
- make:cc 命令未找到解决方法
daizj
linux命令未知make cc
安装rz sz程序时,报下面错误:
[root@slave2 src]# make posix
cc -O -DPOSIX -DMD=2 rz.c -o rz
make: cc:命令未找到
make: *** [posix] 错误 127
系统:centos 6.6
环境:虚拟机
错误原因:系统未安装gcc,这个是由于在安
- Oracle之Job应用
周凡杨
oracle job
最近写服务,服务上线后,需要写一个定时执行的SQL脚本,清理并更新数据库表里的数据,应用到了Oracle 的 Job的相关知识。在此总结一下。
一:查看相关job信息
1、相关视图
dba_jobs
all_jobs
user_jobs
dba_jobs_running 包含正在运行
- 多线程机制
朱辉辉33
多线程
转至http://blog.csdn.net/lj70024/archive/2010/04/06/5455790.aspx
程序、进程和线程:
程序是一段静态的代码,它是应用程序执行的蓝本。进程是程序的一次动态执行过程,它对应了从代码加载、执行至执行完毕的一个完整过程,这个过程也是进程本身从产生、发展至消亡的过程。线程是比进程更小的单位,一个进程执行过程中可以产生多个线程,每个线程有自身的
- web报表工具FineReport使用中遇到的常见报错及解决办法(一)
老A不折腾
web报表finereportjava报表报表工具
FineReport使用中遇到的常见报错及解决办法(一)
这里写点抛砖引玉,希望大家能把自己整理的问题及解决方法晾出来,Mark一下,利人利己。
出现问题先搜一下文档上有没有,再看看度娘有没有,再看看论坛有没有。有报错要看日志。下面简单罗列下常见的问题,大多文档上都有提到的。
1、address pool is full:
含义:地址池满,连接数超过并发数上
- mysql rpm安装后没有my.cnf
林鹤霄
没有my.cnf
Linux下用rpm包安装的MySQL是不会安装/etc/my.cnf文件的,
至于为什么没有这个文件而MySQL却也能正常启动和作用,在这儿有两个说法,
第一种说法,my.cnf只是MySQL启动时的一个参数文件,可以没有它,这时MySQL会用内置的默认参数启动,
第二种说法,MySQL在启动时自动使用/usr/share/mysql目录下的my-medium.cnf文件,这种说法仅限于r
- Kindle Fire HDX root并安装谷歌服务框架之后仍无法登陆谷歌账号的问题
aigo
root
原文:http://kindlefireforkid.com/how-to-setup-a-google-account-on-amazon-fire-tablet/
Step 4: Run ADB command from your PC
On the PC, you need install Amazon Fire ADB driver and instal
- javascript 中var提升的典型实例
alxw4616
JavaScript
// 刚刚在书上看到的一个小问题,很有意思.大家一起思考下吧
myname = 'global';
var fn = function () {
console.log(myname); // undefined
var myname = 'local';
console.log(myname); // local
};
fn()
// 上述代码实际上等同于以下代码
m
- 定时器和获取时间的使用
百合不是茶
时间的转换定时器
定时器:定时创建任务在游戏设计的时候用的比较多
Timer();定时器
TImerTask();Timer的子类 由 Timer 安排为一次执行或重复执行的任务。
定时器类Timer在java.util包中。使用时,先实例化,然后使用实例的schedule(TimerTask task, long delay)方法,设定
- JDK1.5 Queue
bijian1013
javathreadjava多线程Queue
JDK1.5 Queue
LinkedList:
LinkedList不是同步的。如果多个线程同时访问列表,而其中至少一个线程从结构上修改了该列表,则它必须 保持外部同步。(结构修改指添加或删除一个或多个元素的任何操作;仅设置元素的值不是结构修改。)这一般通过对自然封装该列表的对象进行同步操作来完成。如果不存在这样的对象,则应该使用 Collections.synchronizedList 方
- http认证原理和https
bijian1013
httphttps
一.基础介绍
在URL前加https://前缀表明是用SSL加密的。 你的电脑与服务器之间收发的信息传输将更加安全。
Web服务器启用SSL需要获得一个服务器证书并将该证书与要使用SSL的服务器绑定。
http和https使用的是完全不同的连接方式,用的端口也不一样,前者是80,后
- 【Java范型五】范型继承
bit1129
java
定义如下一个抽象的范型类,其中定义了两个范型参数,T1,T2
package com.tom.lang.generics;
public abstract class SuperGenerics<T1, T2> {
private T1 t1;
private T2 t2;
public abstract void doIt(T
- 【Nginx六】nginx.conf常用指令(Directive)
bit1129
Directive
1. worker_processes 8;
表示Nginx将启动8个工作者进程,通过ps -ef|grep nginx,会发现有8个Nginx Worker Process在运行
nobody 53879 118449 0 Apr22 ? 00:26:15 nginx: worker process
- lua 遍历Header头部
ronin47
lua header 遍历
local headers = ngx.req.get_headers()
ngx.say("headers begin", "<br/>")
ngx.say("Host : ", he
- java-32.通过交换a,b中的元素,使[序列a元素的和]与[序列b元素的和]之间的差最小(两数组的差最小)。
bylijinnan
java
import java.util.Arrays;
public class MinSumASumB {
/**
* Q32.有两个序列a,b,大小都为n,序列元素的值任意整数,无序.
*
* 要求:通过交换a,b中的元素,使[序列a元素的和]与[序列b元素的和]之间的差最小。
* 例如:
* int[] a = {100,99,98,1,2,3
- redis
开窍的石头
redis
在redis的redis.conf配置文件中找到# requirepass foobared
把它替换成requirepass 12356789 后边的12356789就是你的密码
打开redis客户端输入config get requirepass
返回
redis 127.0.0.1:6379> config get requirepass
1) "require
- [JAVA图像与图形]现有的GPU架构支持JAVA语言吗?
comsci
java语言
无论是opengl还是cuda,都是建立在C语言体系架构基础上的,在未来,图像图形处理业务快速发展,相关领域市场不断扩大的情况下,我们JAVA语言系统怎么从这么庞大,且还在不断扩大的市场上分到一块蛋糕,是值得每个JAVAER认真思考和行动的事情
- 安装ubuntu14.04登录后花屏了怎么办
cuiyadll
ubuntu
这个情况,一般属于显卡驱动问题。
可以先尝试安装显卡的官方闭源驱动。
按键盘三个键:CTRL + ALT + F1
进入终端,输入用户名和密码登录终端:
安装amd的显卡驱动
sudo
apt-get
install
fglrx
安装nvidia显卡驱动
sudo
ap
- SSL 与 数字证书 的基本概念和工作原理
darrenzhu
加密ssl证书密钥签名
SSL 与 数字证书 的基本概念和工作原理
http://www.linuxde.net/2012/03/8301.html
SSL握手协议的目的是或最终结果是让客户端和服务器拥有一个共同的密钥,握手协议本身是基于非对称加密机制的,之后就使用共同的密钥基于对称加密机制进行信息交换。
http://www.ibm.com/developerworks/cn/webspher
- Ubuntu设置ip的步骤
dcj3sjt126com
ubuntu
在单位的一台机器完全装了Ubuntu Server,但回家只能在XP上VM一个,装的时候网卡是DHCP的,用ifconfig查了一下ip是192.168.92.128,可以ping通。
转载不是错:
Ubuntu命令行修改网络配置方法
/etc/network/interfaces打开后里面可设置DHCP或手动设置静态ip。前面auto eth0,让网卡开机自动挂载.
1. 以D
- php包管理工具推荐
dcj3sjt126com
PHPComposer
http://www.phpcomposer.com/
Composer是 PHP 用来管理依赖(dependency)关系的工具。你可以在自己的项目中声明所依赖的外部工具库(libraries),Composer 会帮你安装这些依赖的库文件。
中文文档
入门指南
下载
安装包列表
Composer 中国镜像
- Gson使用四(TypeAdapter)
eksliang
jsongsonGson自定义转换器gsonTypeAdapter
转载请出自出处:http://eksliang.iteye.com/blog/2175595 一.概述
Gson的TypeAapter可以理解成自定义序列化和返序列化 二、应用场景举例
例如我们通常去注册时(那些外国网站),会让我们输入firstName,lastName,但是转到我们都
- JQM控件之Navbar和Tabs
gundumw100
htmlxmlcss
在JQM中使用导航栏Navbar是简单的。
只需要将data-role="navbar"赋给div即可:
<div data-role="navbar">
<ul>
<li><a href="#" class="ui-btn-active&qu
- 利用归并排序算法对大文件进行排序
iwindyforest
java归并排序大文件分治法Merge sort
归并排序算法介绍,请参照Wikipeida
zh.wikipedia.org/wiki/%E5%BD%92%E5%B9%B6%E6%8E%92%E5%BA%8F
基本思想:
大文件分割成行数相等的两个子文件,递归(归并排序)两个子文件,直到递归到分割成的子文件低于限制行数
低于限制行数的子文件直接排序
两个排序好的子文件归并到父文件
直到最后所有排序好的父文件归并到输入
- iOS UIWebView URL拦截
啸笑天
UIWebView
本文译者:candeladiao,原文:URL filtering for UIWebView on the iPhone说明:译者在做app开发时,因为页面的javascript文件比较大导致加载速度很慢,所以想把javascript文件打包在app里,当UIWebView需要加载该脚本时就从app本地读取,但UIWebView并不支持加载本地资源。最后从下文中找到了解决方法,第一次翻译,难免有
- 索引的碎片整理SQL语句
macroli
sql
SET NOCOUNT ON
DECLARE @tablename VARCHAR (128)
DECLARE @execstr VARCHAR (255)
DECLARE @objectid INT
DECLARE @indexid INT
DECLARE @frag DECIMAL
DECLARE @maxfrag DECIMAL
--设置最大允许的碎片数量,超过则对索引进行碎片
- Angularjs同步操作http请求with $promise
qiaolevip
每天进步一点点学习永无止境AngularJS纵观千象
// Define a factory
app.factory('profilePromise', ['$q', 'AccountService', function($q, AccountService) {
var deferred = $q.defer();
AccountService.getProfile().then(function(res) {
- hibernate联合查询问题
sxj19881213
sqlHibernateHQL联合查询
最近在用hibernate做项目,遇到了联合查询的问题,以及联合查询中的N+1问题。
针对无外键关联的联合查询,我做了HQL和SQL的实验,希望能帮助到大家。(我使用的版本是hibernate3.3.2)
1 几个常识:
(1)hql中的几种join查询,只有在外键关联、并且作了相应配置时才能使用。
(2)hql的默认查询策略,在进行联合查询时,会产
- struts2.xml
wuai
struts
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
"http://struts.apache