`
安静的转着
  • 浏览: 11126 次
  • 性别: Icon_minigender_1
  • 来自: 安徽
社区版块
存档分类
最新评论
文章列表
今日在网上下载了份省市区对应的数据库,由于要做拼音查询,发现该库里没有拼音字段。于是在网上找到了一遍文章,只能做中文字符串第一个字转拼音。下面只能靠自己了,于是我在此功能的基础上做了很简单的扩展。 参考文章地址:http://www.oicto.com/mysql-zhongwen-pingyin/ 下面说说我的扩展吧,我自定义了两个函数分别功能如下: fristPinyin : 此函数是将一个中文字符串的第一个汉字转成拼音字母 (例如:"中国人"->Z) CREATE FUNCTION `fristPinyin`(P_NAME VARCHAR(255)) R ...
今天在页面使用jstl的<c:froEach>遍历HashMap <c:forEach items="${ydMap }" var="m"> <div class="mbody"> <div class="title cv">${m.key.stateName }<a href="${pageContext.request.contextPath }/pl/deleteBlackStatesByState.do?id=${m.k ...
异常:Write operations are not allowed in read-only mode (FlushMode.MANUAL): Turn your Session into FlushMode.COMMIT/AUTO or remove 'readOnly' marker from transaction definition. web.xml内容: <filter> <filter-name>hibernateFilter</filter-name> <filter-class>org.springf ...
Global site tag (gtag.js) - Google Analytics