当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: The name of the class
 

 

    摘要: java世界里几百个orm framework和mvc framework妖精打架,吸引了全世界大部分目光的时候,ruby on rails作为我心目中最佳的mvc, orm framework悄悄出现了。优点 1.简洁。因为是pragmatic programer那帮子人搞出来的东西,所以非常pragmatic,疯狂使用了反射,元数据和强悍的、高度自动化的基类,再加上rub......
 ·hibernatefaq    »显示摘要«
    摘要: 下面的文章只是让大家认识一下hibernate的优势和未来,有没有必要学习要看你的实际需求,不过还是建议你在有时间的情况下研究一下,如果能用到项目当中那更好。如果你的基础还没有牢固,请你三思而行。 hibernate faq 初学者必读! 1、hibernate是什么? hibernate是一个优秀的开发源代码的java对象持久层轻量级封装框架,它既可以用来在java应用程序中......


DriverClassNameandJDBCURLFormat

the jdbc url format for mysql connector/j is as follows, with items in square brackets ([, ]) being optional: 【程序编程相关:WEB程序员,界面美化是你心中永远的痛吗

the name of the class that implements java.sql.driver in mysql connector/j is com.mysql.jdbc.driver. the org.gjt.mm.mysql.driver class name is also usable to remain backwards-compatible with mm.mysql. you should use this class name when registering the driver, or when otherwise configuring software to use mysql connector/j. 【推荐阅读:用sql 储存过程复制表结构遇到的问题,

if the hostname is not specified, it defaults to 127.0.0.1. if the port is not specified, it defaults to 3306, the default port number for mysql servers. 【扩展信息:SQLServer 工具箱(脚本排序+清

jdbc:mysql://[host][,failoverhost...][:port]/[database][?propertyname1][=propertyvalue1][&propertyname2][=propertyvalue2]...

starting with version 3.0.12 and 3.1.2, connector/j supports multiple hosts with ports, separated by commas:

jdbc:mysql://[host:port],[host:port].../[database][?propertyname1][=propertyvalue1][&propertyname2][=propertyvalue2]...

if the database is not specified, the connection will be made with no current database. in this case, you will need to either call the setcatalog() method on the connection instance, issue a use dbname query or fully-specify table names using the database name (i.e. select dbname.tablename.colname from dbname.tablename...) in your sql. not specifying the database to use upon connection is generally only useful when building tools that work with multiple databases, such as gui database managers.

mysql connector/j has fail-over support. this allows the driver to fail-over to any number of "slave" hosts and still perform read-only queries. fail-over only happens when the connection is in an autocommit(true) state, because fail-over can not happen reliably when a transaction is in progress. most good application servers and connection
...   下一页
    摘要: struts,mvc 的一种开放源码实现用这种servlet和jsp框架管理复杂的大型网站 (转载自ibm developerworks中国网站 java 专区,http://www-900.ibm.com/developerworks/java/j-struts/index.shtml) malcolm davis 顾问 2001 年 2 月 内容: ......
» 本期热门文章:

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