Hi All,

I am using the dbforms_1.1.4pr2_20031121 build, MySQL 4.0.16, and driver org.gjt.mm.mysql.Driver .

My first problem is that when I generate JSP pages from a database that contains only 1 table
the generation succeeds but when there are more tables it crashes with error message
"java.util.ConcurentModificationException".
I think I have got other exceptions before, too. The reason is always at line nr. 977 "con.close();" of devgui/XMLConfigGenerator.java.
When I ignore the exception changing the part at line 980 from


catch (SQLException sqle)
        {
            throw new SQLException("could not close Connection - "
              + sqle.getMessage());
         }

to

catch (/*SQL*/Exception sqle)
        {
           /***
           throw new SQLException("could not close Connection - "
              + sqle.getMessage());
            ****/
            ;
        }

the result is fine.

The second problem is with the generated validation for maxlength. The generated part of validation.xml is for example

<field depends="maxlength" property="region">
<msg key="region has a maximum length of ${var:maxchars}" resource="false" name="maxlength"/>
<arg0 key="${var:maxchars}" resource="false" name="maxlength"/>
<var>
<var-name>maxchars</var-name>
<var-value>1</var-value>
</var>
</field>


If I change all "maxchars" to "maxlength" it works fine. The same change is used in the bugtracker example.

I want to suggest the use of DevGui to my colleagues and I don't like to explain the changes that I am doing. Would it be possible to fix these problems in new builds or tell me how to avoid them?

Thank you very much

Pavel Vesely



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
DbForms Mailing List

http://www.wap-force.net/dbforms

Reply via email to