Torque:om, torque:sql, torque:datadtd... works great. Got error message when executing torque:insert-sql. ------------------------------------------------------------- __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0-beta-10
Our new url -> BUILD FAILED File...... file:/C:/Documents and Settings/joeblack/.maven/plugins/maven-torque- plugin-3.1/ Element... torque-sql-exec Line...... 448 Column.... 40 java.sql.SQLException: No suitable Driver for Total time: 7 seconds Here's part of project.properties ---------------------------------------------------------- ##Torque Settings torque.project = ${pom.artifactId} torque.database = mysql torque.targetPackage = com.cyclops.${torque.project}.om torque.database.manualCreation = true torque.database.url = jdbc:mysql://localhost/${torque.project} torque.database.driver = org.gjt.mm.mysql.Driver torque.database.user = root torque.database.password = torque.database.host = localhost torque.runOnlyOnSchemaChange = false torque.sql.dir = ${maven.src.dir}/sql/${torque.database} torque.schema.dir = ${maven.src.dir}/conf/schema ##Put these lines here in order to fix the Context bug ##Remove this where this torque bug fixed by apache torque.basePrefix = Base torque.addSaveMethod = true torque.saveException = Exception torque.contextProperties = project.properties Is that a whitespace after " No suitable Driver for"? I can't figure out what happened here. The version of torque plugin is 3.1. Regards Jiaqi [EMAIL PROTECTED] http://cyclops-group.sourceforge.net --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]