我需要 NetBeans 环境下 用java 语言编写的汽车租赁系统.(含SQL数据库 PHPMadmin连接的). ClassDiagrams 自动生成代码后怎么连接数据库?