Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

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?

0
Posted

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?

0

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

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123