1. A method for mapping database object types to structural language type definition code, wherein user code is added to the structural language type definition code for the object types, the method comprising: parsing one or more database object types; re-generating structural language type definition code for the one or more database object types; determining if user code should be inserted in the regenerated structural language type definition code; and if the user code should be inserted, inserting the user code in the regenerated structural language type definition code.