When I translate my SQLJ program, I notice a number of “.ser” files that include the name “_SJProfile” are also created. What are these files and how should I use them?
When a SQLJ file is translated into a Java file, information about the SQL operations it contains is stored in SQLJ-generated resource files called profiles. These profiles are used by the SQLJ runtime, and allow for vendor-specific static SQL compilation and optimization. Profiles are identified by the suffix “_SJProfileN” (where N is a number) following the name of the original input file. A SQLJ programmer does not need to reference the profiles directly, but should package them in the same location in the CLASSPATH as the rest of the classes that make up the SQLJ application.
Related Questions
- When I translate my SQLJ program, I notice a number of ".ser" files that include the name "_SJProfile" are also created. What are these files and how should I use them?
- When I utilize the ns-crond function to rotate my log files, I notice that the log files are not always correctly rotated (if at all). Why?
- How do we get files from our old system into the Semarca program?