curso.xml

<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>
<map>
   <moduleName>exemplo</moduleName>
   <className>curso</className>
   <tableName>curso</tableName>
   <databaseName>exemplo</databaseName>
   <attribute>
      <attributeName>idCurso</attributeName>
      <columnName>idCurso</columnName>
      <key>primary</key>
      <idgenerator>seq_curso</idgenerator>
   </attribute>
   <attribute>
      <attributeName>nome</attributeName>
      <columnName>nome</columnName>
   </attribute>
 
<attribute>
      <attributeName>alunos</attributeName>
</attribute>
 
 
   <association>
      <toClassModule>exemplo</toClassModule>
      <toClassName>aluno</toClassName>
      <cardinality>oneToMany</cardinality>
      <target>alunos</target>
      <retrieveAutomatic>false</retrieveAutomatic>
      <saveAutomatic>false</saveAutomatic>
      <entry>
         <fromAttribute>idCurso</fromAttribute>
         <toAttribute>idCurso</toAttribute>
      </entry>
   </association>
 
</map>
tutoriais/miolo/arquivos/curso.xml.txt · Modificada em: 2009/04/14 21:04 (external edit)
Recent changes RSS feed Creative Commons License Donate Driven by DokuWiki