ConfluentData wrote:
We're currently running an application on SQL Server, relying on GUIDs for our Primary Keys. We're looking into switching to Oracle 10g, and so I'm doing some research into the switch and what kind of migration woes we're going to run into. So here's my question - can I switch out the database and adapter on the back end of a project without much difficulty, and what kind of issues am I looking at with using the Guids for idenifiers?
Thanks for any input you can provide!
The main issue you'll have is that Oracle doesn't support GUID's. Oracle also doesn't support a short byte array type, like binary, only blob style byte variables. You can mimic them with char fields in where you store the character representation of a guid, but even then you need to convert the data manually to GUID's in the entities as that's not available yet.
Oracle also doesn't have a bit field, so booleans have to be modelled onto char(1). If porting code isn't really a problem, these're the main problems you will run into.