07 2012 档案
摘要:用工具将oracle数据库变为mysql数据库的数据。然后自己修改,包括主键,视图,存储过程等。1.proxool.xml <driver-url>jdbc:mysql://10.7.5.206:3306/mydb</driver-url> <driver-class>com.mysql.jdbc.Driver</driver-class>2.spring 中sessionfactory配置<bean id="sessionFactory" class="org.springframework.orm.hibe
阅读全文
摘要:mysql -h 10.7.5.206 -u tazi -p tazi
阅读全文
摘要:Eclipse -- Windows->Preferences->General->Editors->Text Editors->Hyperlinking: 去掉这个选项:Enable on demand hyperlinks style navigation
阅读全文
摘要:1.在config.js中使用自定义的工具条,加上自定义的按钮"addpic",和插件定义CKEDITOR.editorConfig = function( config ){ // Define changes to default configuration here. For example: // config.language = 'fr'; // config.uiColor = '#AADC6E'; config.toolbar = [ ['Source', '-', 'Preview
阅读全文
摘要:在TomcatHome/conf/server.xml配置URIEncoding为UTF-8 <Connector port="8081" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" URIEncoding="UTF-8"/>
阅读全文
摘要:Ext.ns('Ext.ux');Ext.ux.ColorField = Ext.extend(Ext.form.TriggerField,{ editable:false, triggerClass : 'x-form-arrow-trigger', initComponent : function(){ Ext.ux.ColorField.superclass.initComponent.call(this); this.addEvents( 'select' ); }, initEvents: f...
阅读全文
摘要:create or replace function addSingleQuotes(v_oldStr VARCHAR2)return VARCHAR2--该函数将逗号分隔的字符串的每个字串两边加上单引号--如0001,0002,0003改为'0001','0002','0003'asoldStr VARCHAR2(4000):=v_oldStr;newStr VARCHAR2(4000):=null; --返回加单引号之后的值v_commaPos number(4); --逗号位置v_curItem VARCHAR2(4000):='&
阅读全文
浙公网安备 33010602011771号