1. A computer-implemented 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 with a processor associated with a computer system; re-generating structural language type definition code with the processor associated with the computer system for the one or more database object types; determining positioning information with the processor associated with the computer system, the positioning information indicating a position in the structural language type definition code of user code in the structural language type definition code; determining, with the processor associated with the computer system, the position in the regenerated structural language type definition code based on the positioning information; determining, with the processor associated with the computer system, whether user code should be inserted in the regenerated structural language type definition code; and based on a determination that the user code should be inserted, inserting the user code in the regenerated structural language type definition code with the processor associated with the computer system, wherein the inserted user code is positioned corresponding to the user code in the structural language type definition code.