hi;
I have created new db table. I have added a ne tab in an existing window.Everything works good.All the data from foreign key work good.When we click the save button we get an error "ORA-00918: column ambiguously defined".
We have seen that there is two class for every db table like X_Tablename.java, MTablename.java .We think that these java classes are generated by "GenerateModel.java" .How can we call "GenerateModel" to create these java classes.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Save below test as file "GenerateModel.launch" in dbPort project. Probalby you will need to edit some value sin order to make it run. As a result from savid as file in Run menu you will see new item.
hi;
I have created new db table. I have added a ne tab in an existing window.Everything works good.All the data from foreign key work good.When we click the save button we get an error "ORA-00918: column ambiguously defined".
We have seen that there is two class for every db table like X_Tablename.java, MTablename.java .We think that these java classes are generated by "GenerateModel.java" .How can we call "GenerateModel" to create these java classes.
Hi,
Save below test as file "GenerateModel.launch" in dbPort project. Probalby you will need to edit some value sin order to make it run. As a result from savid as file in Run menu you will see new item.
<?xml version="1.0" encoding="UTF-8"?>
<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.compiere.util.GenerateModel"/>
<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="${workspace_loc:_gen}/ org.compiere.model 'U','A','D','C','CUST'"/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="dbPort"/>
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-DPropertyFile=${workspace_loc:_production}/Compiere2/Compiere.properties"/>
<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
<listEntry value="org.eclipse.debug.ui.launchGroup.run"/>
</listAttribute>
<booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="true"/>
</launchConfiguration>