<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    大漠駝鈴

    置身浩瀚的沙漠,方向最為重要,希望此blog能向大漠駝鈴一樣,給我方向和指引。
    Java,Php,Shell,Python,服務(wù)器運(yùn)維,大數(shù)據(jù),SEO, 網(wǎng)站開發(fā)、運(yùn)維,云服務(wù)技術(shù)支持,IM服務(wù)供應(yīng)商, FreeSwitch搭建,技術(shù)支持等. 技術(shù)討論QQ群:428622099
    隨筆 - 238, 文章 - 3, 評論 - 117, 引用 - 0
    數(shù)據(jù)加載中……

    JAVA框架

    Spring,Mybatis,Hibernate
    To prevent a memory leak, the JDBC Driver has been forcibly unregistered--有關(guān)Tomcat自動宕機(jī)的解決方案
         摘要: To prevent a memory leak, the JDBC Driver has been forcibly unregistered的解決方案。  閱讀全文

    posted @ 2016-08-03 10:59 草原上的駱駝 閱讀(12586) | 評論 (0)  編輯

    MAVEN命令不斷完善中。。。

    posted @ 2016-02-15 17:13 草原上的駱駝 閱讀(1143) | 評論 (0)  編輯

    Row was updated or deleted by another transaction

    posted @ 2010-08-11 16:48 草原上的駱駝 閱讀(7342) | 評論 (1)  編輯

    Spring中常用的hql查詢方法(getHibernateTemplate())

    posted @ 2010-07-22 14:15 草原上的駱駝 閱讀(894) | 評論 (0)  編輯

    struts2.1.6中的datatimepicker 設(shè)置

    posted @ 2009-05-28 11:30 草原上的駱駝 閱讀(550) | 評論 (2)  編輯

    JSF學(xué)習(xí)筆記開始

    posted @ 2009-05-15 21:49 草原上的駱駝 閱讀(239) | 評論 (0)  編輯

    struts2中如何獲取Session,HttpServletRequest,HttpServletResponse

    posted @ 2009-03-29 16:40 草原上的駱駝 閱讀(3772) | 評論 (0)  編輯

    No mapping found for dependency [type=java.lang.String, name='actionPackages']

    posted @ 2009-03-29 11:33 草原上的駱駝 閱讀(9642) | 評論 (5)  編輯

    Eclipse+Maven+jetty+Struts2+Hibernate3開發(fā)注冊登陸模塊

    posted @ 2009-03-26 18:59 草原上的駱駝 閱讀(2611) | 評論 (0)  編輯

    記事貼2:Struts的Validator并不好用!轉(zhuǎn)載
         摘要: 使用正則表達(dá)式,使email字段中不能輸入漢字。最近用AppFuse開發(fā)一個BS的系統(tǒng),用的是Struts的MVC部分,使用Validator進(jìn)行驗(yàn)證,結(jié)果發(fā)現(xiàn)Validator的驗(yàn)證EMail并不好,EMail中可以輸入漢字,然后到服務(wù)器端驗(yàn)證,我配置了客戶端驗(yàn)證,也可以驗(yàn)證Email的格式,但如果輸入的是正確的格式,但是包含漢字它卻驗(yàn)證不出來,但到了后臺又管用了,不知道為什么,時間緊,我也沒時間去研究它,找到一個方法可以解決這個問題,雖不完美,卻也湊合:

      閱讀全文

    posted @ 2009-03-19 17:45 草原上的駱駝 閱讀(274) | 評論 (0)  編輯

    hibernate的 fetch lazy inverse cascade
         摘要: 1.fetch 和 lazy 主要用于級聯(lián)查詢(select) 而 inverse和cascade主要用于級聯(lián)增、加刪、除修改(sava-update,delete)
    2.想要刪除父表中的記錄,但希望子表中記錄的外鍵引用值設(shè)為null的情況:
    父表的映射文件應(yīng)該如下配置:






    inverse="false"是必須的,cascade可有可無,并且子表的映射文件中inverse沒必要設(shè)置,cascade也可以不設(shè)置,如果設(shè)置就設(shè)置成為cascade="n  閱讀全文

    posted @ 2009-03-09 19:41 草原上的駱駝 閱讀(537) | 評論 (0)  編輯

    JPA annotation 筆記
         摘要: @Id 顧名思義,就不多說了。

    @GeneratedValue:主鍵的產(chǎn)生策略,通過strategy屬性指定。
    默認(rèn)情況下,JPA自動選擇一個最適合底層數(shù)據(jù)庫的主鍵生成策略,如SqlServer對應(yīng)identity,MySql對應(yīng)auto increment。
    在javax.persistence.GenerationType中定義了以下幾種可供選擇的策略:
    1) IDENTITY:表自增鍵字段,Oracle不支持這種方式;
    2) AUTO: JPA自動選擇合適的策略,是默認(rèn)選項(xiàng);
    3) SEQUENCE:通過序列產(chǎn)生主鍵,通過@SequenceGenerator注解指定序列名,MySql不支持這種方式;
    4) TABLE:通過表產(chǎn)生主鍵,框架借由表模擬序列產(chǎn)生主鍵,使用該策略可以使應(yīng)用更易于數(shù)據(jù)庫移植。   閱讀全文

    posted @ 2009-02-22 22:08 草原上的駱駝 閱讀(1655) | 評論 (0)  編輯

    A Blog Application with Warp (continued)(2)
         摘要: A Blog Application with Warp (continued)

    First check out the previous tutorial on creating a Blog application to get yourself going. In this article, I'll show you how to add forms and a bit of interactivity. You will learn the following Warp concepts:

    * Event Handling and Navigation
    * Events and the Button component
    * The TextField and TextArea components
    * Page scopes

    Continuing from the previous tutorial, let's now make a "compose new ent  閱讀全文

    posted @ 2009-02-17 16:30 草原上的駱駝 閱讀(208) | 評論 (0)  編輯

    A Blog Application with Wideplay's Warp Framework(1)
         摘要: A Blog Application with Wideplay's Warp Framework

    First check out the Hello World example to get yourself going. In this article, I'll show you how to knock together a simple Blog application where you can browse and read blog entries. You will learn the following Warp concepts:

    * Page Injection
    * RESTful behavior and the HyperLink component
    * The Table and Column components
    * Simple Internationalization (i18n)

      閱讀全文

    posted @ 2009-02-17 16:29 草原上的駱駝 閱讀(270) | 評論 (0)  編輯

    A Hello World Application in Warp

    posted @ 2009-02-17 16:28 草原上的駱駝 閱讀(288) | 評論 (0)  編輯

    Full JAVA框架 Archive

    主站蜘蛛池模板: 最近2019中文字幕免费直播| 成人免费无码H在线观看不卡| 1000部拍拍拍18勿入免费视频下载| 亚洲七七久久精品中文国产| 亚洲精品色在线网站| 午夜神器成在线人成在线人免费| 亚洲一级片在线观看| 一本岛高清v不卡免费一三区| 亚洲欧洲精品国产区| 国产h肉在线视频免费观看| 亚洲精品在线免费观看| 曰批全过程免费视频网址| 亚洲精品一卡2卡3卡三卡四卡| 无码少妇精品一区二区免费动态| 亚洲AV永久无码精品| 伊人久久免费视频| 亚洲视频在线不卡| 无人在线观看免费高清视频| 天堂亚洲国产中文在线| 韩国日本好看电影免费看| 午夜在线亚洲男人午在线| 亚洲人成网站在线观看青青| 久久99久久成人免费播放| 亚洲国产一二三精品无码| 免费观看成人久久网免费观看| 亚洲电影一区二区三区| 国产精品免费观看| 亚洲丶国产丶欧美一区二区三区| 免费jjzz在在线播放国产| 成人片黄网站色大片免费观看cn| 亚洲AV日韩精品久久久久久 | 91精品成人免费国产片| 亚洲自偷自偷在线成人网站传媒| 国产男女猛烈无遮挡免费视频 | 久久国产亚洲精品无码| 亚洲人成网站免费播放| 免费人成在线观看播放a| 亚洲av永久无码精品古装片| 成年18网站免费视频网站| 久久久久国色AV免费观看| 亚洲乱码卡三乱码新区|