Hi

I try to add a layer to the geoset from database (Oracle 8i Spatial). =
I've written this method (MapXtreme Java E.3.0)  for this but it didn't =
work. What's the problem I couldn't solve.=20
Thanks in advance for your reply.



final static String m_mxtURL =3D
"http://localhost:8080/mapxtreme/servlet/com.mapinfo.mapxtreme.MapXtremeS=
ervlet";

   public void addOraLayer() throws Exception {

     String[] idCols =3D {"MI_PRINX"};

     OraSoTableDescHelper oraTableDescHelper =3D
          new OraSoTableDescHelper("YOLORTA", false, idCols, null,
          null, RenditionType.determine, null, 0, null);

         OraSoDataProviderHelper oraDPHelper =3D
     new OraSoDataProviderHelper("LBS", 1521, "LBS","admin", "admin",
DriverType.thin);

     MapXtremeDataProviderRef mxDPRef =3D
           new MapXtremeDataProviderRef(oraDPHelper, m_mxtURL);
     m_map.getLayers().insert(mxDPRef, oraTableDescHelper, 0, =
"oraLayer");

     }






_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.

Reply via email to