当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: Typically when I map my applicat
 

 

    摘要:introduction xml has become one of the major technologies used today for business integration software evolution. lots of object models are being used today to manipulate xml in various ways. axi......
    摘要:in part one of this series, we looked at five free or nearly-free java html renderers, evaluating them in terms of support for modern standards (xhtml and css1/css2 support), support for legacy pages......


Hibernate: Discriminators and Table-Per-Subclass
上一页   ...

... and here is our user class: 【推荐阅读:Integrating Java Ope

package com.javalobby.tnt.hib;   import org.hibernate.session; import org.hibernate.sessionfactory; import org.hibernate.cfg.configuration;   public class main {   public main() { super(); } public static void main(string[] args) { configuration cfg = new configuration() .addclass(user.class) .setproperty("hibernate.dialect", "org.hibernate.dialect.mysqlinnodbdialect") .setproperty("hibernate.connection.driver_class", "com.mysql.jdbc.driver") .setproperty("hibernate.connection.url", "jdbc:mysql://localhost/javalobby") .setproperty("hibernate.connection.username", "admin"); sessionfactory sessions = cfg.buildsessionfactory(); session session = sessions.opensession(); try { user user = (user)session.load(user.class, new long(1)); system.out.println(user); } finally { session.close(); } } }


...   下一页
    摘要:without soa, says orbitzs chief technology officer, his company - founded in 2000 and successfully ipod since then - wouldnt be able to leverage its main competititive advantage: speed to market. he......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE