使用PowerDesigner连接数据库并反向工程生成所有表及关系

My Life My Dream! / 2024-04-30 / 原文

配置对数据库的JDBC连接时,总是提示连接失败!也没有任何其他信息,查阅网上资料并实际验证,按如下步骤可以成功:

1、因为PowerDesigner是32位的程序,需要使用 x86-32位版本的JDK

2、配置PowerDesigner -》Tools -》General Options -》variables  ,配置jar、java等路径配置为32位JDK

3、操作系统的ClassPath,增加jdbc驱动jar

4、操作系统的Java_Home,改为32位JDK

5、重启PowerDesigner

 

参考文档:

https://cloud.tencent.com/developer/article/1458453

https://blog.csdn.net/future_1024/article/details/78077387

https://blog.csdn.net/ardo_pass/article/details/78695073