Re: Migration problems
"Sinisa Milosevic" <[email protected]> Wed, 1 Oct 2003 12:50:40 +0200
| Newsgroups | gmane.comp.java.enhydra.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, > First of all, a part of the documentation vanished: no > more information about the HTML Elements can be found! > There is no entry for example for the > HTMLOptionElement. I tried to consult this class > because the implementation for setSelected(boolean) > from org.w3c.dom.html.HTMLOptionElement is not present > anymore. This seems to be a bug! Enhydra 5.1 contains Xerces 2.5 (xercesImpl and xml-apis jars). HTMLOptionElement interface is in Xerces 2. You can see API of Xerces 2.5 in Enhydra documentation : doc\Xerces\javadocs\api\. XMLC module has its own Xerces version inside xmlc.jar with different package names (org.enhydra.xml...). API of XMLC module is in doc\XMLC\api directory. We have separate API-s for Enhydra modules because we removed source of these tools from Enhydra source. We uses these modules without any changes. > > The compiler also complains about deprecated methods > which I use a lot: > > - Deprecated: com.lutris.appserver.server.sql.CoreDO > > - getOId() > - getVersion() > - setNewVersion() > > I cannot find any information about how to replace > there methods! Some methods in DODS are deprecated because possible problems with column names in tables and generated methods in DO classes. So In Enhydra we have get_ XXX and set_XXX methods. More information about DOS changes you can find in DODS documentation. Also DODS is standalone project and source and API are in DODS distributions (http://dods.enhydra.org) > > Another thing: the package com.lutris.xml.xmlc does > not exist anymore. Where did the methods go? Package xmlc is relocated so you need to change import lists in source code of the application from: com.lutris.xml.xmlc.html.* com.lutris.xml.xmlc.* to: org.enhydra.xml.xmlc.html.* org.enhydra.xml.xmlc.* In Document Upgrading Enhydra Server V5.0 applications to Enhydra Server v5.1 you can find more details about upgrading your old applications. Regards, Sinisa Milosevic, Together Serbia