上次接触java是java5刚出来的时候。
现在是java1.6.31了。
不知道jdbc和string的方法调用,在5-6版本之间有没有一些主要的变化呢?

解决方案 »

  1.   


    谢谢你,能否简单说一下,jdbc和string的方法调用,在5和8版本之间有没有一些主要的变化呢?
      

  2.   

    官方最新的是jdk7u3
    string没有变化
    jdbc最新的版本是jdbc4.1
    JDBC 4.1 introduces the following features:
        The ability to use a try-with-resources statement to automatically close resources of type Connection, ResultSet, and Statement; see Closing Connections in Processing SQL Statements.
        RowSet 1.1: The introduction of the RowSetFactory interface and the RowSetProvider class, which enable you to create all types of row sets supported by your JDBC driver; see Using the RowSetFactory Interface in Using JdbcRowSet Objects.