[Opensource] Réf. : Re: [Opensource] DBTool error

Raul DAVIDOVICH R.DAVIDOVICH at caconcology.com
Thu Sep 5 03:14:02 PDT 2002


Hello,

      I can confirm there's something weird with the reverse-engeenering
part of DBTool. I used it from expresso 4.0, and I had some trouble
concerning the types of the fields (example "int8" with a length of 8 that
I had to replace with "integer" (or"bigint") with a length of 0).. maybe
this is the reason the part is commented out.. I thought it might come from
my JDBC driver, but now you mention it...

---------------------------------------------------
Raul Davidovich
Responsable Informatique
Cvitkovic & Associés Consultants

(33) 1 45 15 40 68
(33) 1 45 15 40 41 Fax
-------------------------------------------------------
http://www.caconcology.com


|---------+------------------------------->
|         |           Michael Rimov       |
|         |           <rimovm at centercomp.c|
|         |           om>                 |
|         |           Envoyé par :        |
|         |           opensource-admin at jco|
|         |           rporate.com         |
|         |                               |
|         |                               |
|         |           05/09/2002 02:45    |
|         |           Veuillez répondre à |
|         |           opensource          |
|         |                               |
|---------+------------------------------->
  >-----------------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                             |
  |       Pour :    opensource at jcorporate.com                                                                                   |
  |       cc :                                                                                                                  |
  |       Objet :   Re: [Opensource] DBTool error                                                                               |
  >-----------------------------------------------------------------------------------------------------------------------------|




At 03:29 PM 9/4/2002 +0100, you wrote:
>Hi,
>
>I'm getting the following error when trying to run DBTool via a Windows NT
>batch file:
>
>Exception in thread "main" javax.xml.parsers.FactoryConfigurationError:
>org.apache.xerces.jaxp.SAXParserFactoryImpl
>         at
>javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:84)
>         at
org.apache.struts.digester.Digester.getParser(Digester.java:275)
>         at org.apache.struts.digester.Digester.parse(Digester.java:755)
>         at
>com.jcorporate.expresso.core.misc.ConfigManager.readXMLConfig(ConfigManager.

>java, Compiled Code)
>         at
>com.jcorporate.expresso.core.misc.ConfigManager.load(ConfigManager.java:1171

>)
>         at com.jcorporate.expresso.core.utility.DBTool.main(DBTool.java,
>Compiled Code)
>
>I'm setting the classpath to use the jar files in my Expresso 4.1ea3
>installation (xerces, xalan, struts etc.).
>I'm trying to reverse engineer some tables in my database into DBObjects.
>Any ideas as to what could be wrong?

Hi Malcom,

Some people reported problems using the Xerces that came with ea-3.  The
new version 2.X series Xerces is now included with ea-4.  You might want to

give it a shot.

I should warn you, however, I was browsing code the other day, and it
looked like somebody (I don't know when or who) commented out the entire
Reverse Engineering section of DBTool, in particular the field type
mappings.  I have no idea if it was because it was buggy or what.  I
haven't had a chance to look into it yet, although it's definitely on my
todo list.

                                         -Mike

_______________________________________________
Opensource mailing list
Opensource at jcorporate.com
http://mail.jcorporate.com/mailman/listinfo/opensource
Archives: http://mail.jcorporate.com/pipermail/opensource/








More information about the Opensource mailing list