I am trying to use minuteproject to generate openxava files. My config is the similar to the one in http://minuteproject.wikispaces.com/OpenXava demo file. I get java.net.url exception. I checked my jdbc url and couldn't find an error. This is my first trial with minuteproject. I want to learn it very much because I was looking for a framework like this (minuteproject + openxava) for a long time. Thank you for your time :) Ferda
I will add my config file here. I try to reverse engineer only one file not whole database. My database is MS SQL.
<!DOCTYPE root>
<generator-config>
<configuration>
<model name="evrak" version="1.0" package-root="veritabani.xxx.org.tr">
<data-model>
<dataSource>
<driverClassName>com.microsoft.sqlserver.jdbc.SQLServerDriver</driverClassName>
<url>jdbc:sqlserver://10.1.x.x:1433;DataBaseName=xxx</url>
<username>xx</username>
<password>xx</password>
</dataSource>
<!-- for Oracle and DB2 please set the schema
<schema> </schema>
-->
<primaryKeyPolicy oneGlobal="true" oneForEachTable="false">
<primaryKeyPolicyPattern prefix="" suffix="" name="sequencePattern" sequenceName="hibernate_sequence"></primaryKeyPolicyPattern>
<!-- for autogenerated pk (mysql)
<primaryKeyPolicyPattern name="autoincrementPattern" ></primaryKeyPolicyPattern>
-->
</primaryKeyPolicy>
</data-model>
<business-model>
<generation-condition>
<condition type="exclude" startsWith="DUAL"></condition>
<condition type="exclude" startsWith="ID_GEN"></condition>
<condition type="include" startsWith="dbo.sekreterya_kisifirma" ></condition>
<condition type="exclude" startsWith="ID_GEN"></condition>
sekreterya_kisifirma
</generation-condition>
<business-package default="veritabani.losev.org.tr">
</business-package>
</business-model>
</model>
<targets catalog-entry="OpenXava"/>
</configuration>
</generator-config>