使用JDBC完成CRUD操做

增刪改查都要用到數據庫鏈接對象,都要釋放資源,數據庫鏈接和資源的釋放可寫在工具類中java 配置文件db.propertiesmysql driver=com.mysql.jdbc.Driver  url=jdbc:mysql://localhost:3306/test username=root password=rootsql #driver=oracle.jdbc.driver.Oracle
相關文章
相關標籤/搜索