# Migrate to OracleXE

**URL:** <https://forum.servoy.com/t/migrate-to-oraclexe/7439>\
**Category:** Classic Servoy\
**Created:** [May 3, 2007, 10:34pm UTC](https://forum.servoy.com/t/migrate-to-oraclexe/7439 "2007-05-03T22:34:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![JayColey](https://avatars.discourse-cdn.com/v4/letter/j/6bbea6/32.png) [@JayColey](https://forum.servoy.com/u/JayColey)\
**Post date:** [May 3, 2007, 10:34pm UTC](https://forum.servoy.com/t/migrate-to-oraclexe/7439/1 "2007-05-03T22:34:17Z")

</div>

I have a Servoy solution working in iAnywhere and want to move to OracleXE. I installed the Oracle JDBC driver and have connected (in the Servoy DB Servers dialog) to the server “XE” the default Oracle SID for my database. I have no repository and am requesting advice on how to create one in OracleXE.

---

<div class="post-metadata">

**Author:** ![swingman](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/swingman/32/4536_2.png) [@swingman](https://forum.servoy.com/u/swingman)\
**Post date:** [May 4, 2007, 12:25pm UTC](https://forum.servoy.com/t/migrate-to-oraclexe/7439/2 "2007-05-04T12:25:20Z")

</div>

Hi Jay,

Export your solutions (so you can reimport into your new repository).

Create an empty database.  
Repoint your servoy\_repository data connection to your new database. You may want to keep the old connection, just rename it to get it out of the way and create a new connection for your new repository – just make sure use the same name as before.

Restart servoy  
Servoy will ask to create a new repository when it sees your new empty database on the servoy\_repository connection.

Reimport your solutions.

Hope this helps,

---

<div class="post-metadata">

**Author:** ![JayColey](https://avatars.discourse-cdn.com/v4/letter/j/6bbea6/32.png) [@JayColey](https://forum.servoy.com/u/JayColey)\
**Post date:** [May 8, 2007, 6:14pm UTC](https://forum.servoy.com/t/migrate-to-oraclexe/7439/3 "2007-05-08T18:14:37Z")

</div>

Thanks. The key information you gave me is to use the Oracle DB name “XE”, which is the only database you apparently can have in OracleXE, only they don’t seem to call it a database, and you can’t create it - it’s already there. So where I had two databases in iAnywhere, (the servoy\_repository and my own data) I could only have one in Oracle.

I had several other hurdles, including not being able to use Port 8080 to connect Servoy client. 8080 has been appropriated by Oracle. Getting ODBC working was quite a project, too. As has been posted on other threads here, the file mfc71.dll, which is requited to set up an ODBC dsn, is not installed with XEClient, so it has to be copied over from the server system.

---

<div class="post-metadata">

**Author:** ![jw\_teunisse](https://avatars.discourse-cdn.com/v4/letter/j/f475e1/32.png) [@jw\_teunisse](https://forum.servoy.com/u/jw_teunisse)\
**Post date:** [May 9, 2007, 8:13pm UTC](https://forum.servoy.com/t/migrate-to-oraclexe/7439/4 "2007-05-09T20:13:53Z")

</div>

why ODBC?  
You can use the oracle jdbc jars, just by copying from the oraclexe installation directories to the servoy\lib directory. I copied ojdbc14.jar, odncj14\_g.jar, oracle\_ice.jar and orai18n.jar for so far I can remember.

In the Servoy training we also changed the 8080 port of the servoy webserver to 8081 to avoid these problems. see the Servoy server documentation.

Jan Willem

---

<div class="post-metadata">

**Author:** ![JayColey](https://avatars.discourse-cdn.com/v4/letter/j/6bbea6/32.png) [@JayColey](https://forum.servoy.com/u/JayColey)\
**Post date:** [May 9, 2007, 9:14pm UTC](https://forum.servoy.com/t/migrate-to-oraclexe/7439/5 "2007-05-09T21:14:20Z")

</div>

> jw teunisse:  
> why ODBC?  
> …  
> Jan Willem

We have an application written in C++ (maintained by others) that needs to have access to our database, and it has ODBC built in already. I don’t know how much work it would be to change the app to work with jdbc.

---

<div class="post-metadata">

**Author:** ![IT2Be](https://avatars.discourse-cdn.com/v4/letter/i/dc4da7/32.png) [@IT2Be](https://forum.servoy.com/u/IT2Be)\
**Post date:** [May 9, 2007, 9:53pm UTC](https://forum.servoy.com/t/migrate-to-oraclexe/7439/6 "2007-05-09T21:53:48Z")

</div>

Can’t you use ODBC and JDBC together? Should be possible…

Using Servoy it is easy/easiest to work with JDBC drivers.  
Simply follow the instructions of Jan Willem, set up the server connection in the Servoy preferences and it should work.
