Migration from MS SQL Server to Oracle

Posts   
 
    
al2010
User
Posts: 3
Joined: 07-Apr-2011
# Posted on: 07-Apr-2011 19:00:55   

Is there any way to migrate existing LLBLGen project from MS SQL Server database engine to Oracle?

MTrinder
User
Posts: 1461
Joined: 08-Oct-2008
# Posted on: 07-Apr-2011 20:43:34   

Which version of LLBLGen are you using ?

al2010
User
Posts: 3
Joined: 07-Apr-2011
# Posted on: 07-Apr-2011 22:00:36   

LLBLGen Pro 2.6 and 3.1.

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 08-Apr-2011 06:26:38   

In v2.6 you can. You have to download the **Project Converter ** at LLBLGen Site -> Customer Area -> v2.6 -> Extras. Compile the Project Converter source code and follow the readme.txt instructions.

David Elizondo | LLBLGen Support Team
Otis avatar
Otis
LLBLGen Pro Team
Posts: 39753
Joined: 17-Aug-2003
# Posted on: 08-Apr-2011 10:51:51   

And in v3.1:

-> right click 'relational model data' in project explorer or catalog explorer and select 'Add relational model data storage for a database' and select Oracle (ODP.NET). (you have to install ODP.NET)

If you use bit fields in sqlserver: - right click project node in project explorer -> edit type conversion definitions - specify a type converter for Boolean -> Int16 (NUMBER(1, 0)) - Right click project node -> properties - make sure AutoAssignTypeConverterToFieldMapping is checked.

-> then right-click 'Entities' in project explorer -> select Automap unmapped entities.

It will generate the oracle tables from this. Click 'Project -> Validate and Adjust Relational Model data', and fix errors you ran into, eventually adding fields manually on the field mappings tab.

Then export the DDL SQL create script and you're done.

Frans Bouma | Lead developer LLBLGen Pro
al2010
User
Posts: 3
Joined: 07-Apr-2011
# Posted on: 20-Apr-2011 19:20:54   

Thanks!