IBM Informix Embedded SQLJ User's Guide

######

IBM Informix Embedded SQLJ User's Guide Chapter 4: The Embedded SQLJ Language

Contents | Index |  |

## SQLJ Reserved Names This section lists names reserved by the SQLJ translator. Do not use these names in your Embedded SQLJ programming. ### Parameter, Field, and Variable Names The string __sJT is a reserved prefix for generated variable names. Do not use this prefix for the names of: variables declared within blocks that include SQL statements. parameters to methods that contain SQL statements. fields in classes that contain SQL statements or whose subclasses contain SQL statements. ### Class Names and Filenames Do not declare classes that conflict with the names of internal classes. Do not create files that conflict with generated internal resource files. The SQLJ translator creates internal classes and resource files for use by generated code. The names of these files and classes have a prefix composed of the name of the original input file followed by the string _SJ. For example, if you translate a file called File1.sqlj that uses the package COM.foo, the names of some of the internal classes produced are: COM.foo.File1_SJInternalClass COM.foo.File1_SJProfileKeys COM.foo.File1_SJInternalClass$Inner COM.foo.File1_SJProfile0 COM.foo.File1_SJProfile1 Generated files for these internal classes, which are created in the same directory as the input file, File1.sqlj, are called: File1_SJInternalClass.java (includes the class COM.foo.File1_SJInternalClass$Inner) File1_SJProfileKeys.java File1_SJProfile0.ser File1_SJProfile1.ser Files with the .ser extension are internal resource files that contain information about SQL operations in an .sqlj file.

IBM Informix Embedded SQLJ User's Guide, Version 1.0
Copyright © 1999, IBM Corporation. All rights reserved.