Skip to main content
1-Visitor
December 31, 2007
Question

JDBC connection through pro/e environment

  • December 31, 2007
  • 1 reply
  • 1989 views
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.

    1 reply

    1-Visitor
    January 2, 2008
    you are probably losing your classpath settings. are you setting it in the .dat file: java_app_classpath ??? correctly? -mark
    1-Visitor
    January 3, 2008
    Hi Mark Rafn, Thanks for your reply. you were absolutely right,i didnt set class path for "mysql" jar file. now code is working.
    1-Visitor
    January 5, 2008
    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