Skip to main content
1-Visitor
Dec 31, 2007 9:49 AM UTC
Question

JDBC connection through pro/e environment

Hi everybody, I am trying to make database connection in pro/e environment through java(synchronous application). I am getting exception as class not found (com.mysql.jdbc.Driver). But the same code is executed in java environment with out any problem. So i want to know how to make JDBC connection and retrieve the values from data base in pro/e. I would be glad to recieve the replies for this problem. I am using pro/e wildfire 2.0, and Netbeans IDE 5.0,Mysql database. thanks in advance.

    4 replies

    1-Visitor
    Jan 2, 2008 4:26 PM UTC
    you are probably losing your classpath settings. are you setting it in the .dat file: java_app_classpath ??? correctly? -mark
    Translate
    1-Visitor
    Jan 3, 2008 4:12 AM UTC
    Hi Mark Rafn, Thanks for your reply. you were absolutely right,i didnt set class path for "mysql" jar file. now code is working.
    Translate
    1-Visitor
    Jan 5, 2008 11:10 AM UTC
    Hi there, I have some model,and updating some 4 parameter values to model through java using jlink API's in synchronous application . To regenerate the model i has to go to proe environment and need to press regenerate model button. but i want this thing through code only. I mean to say is there any possibilities to regenerate the model through coding? Thank you
    Translate