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.

For basic use of SQLJ, how much do I need to know about profiles (.ser files)?

BASIC files Profiles SQLJ
0
Posted

For basic use of SQLJ, how much do I need to know about profiles (.ser files)?

0

Unless you plan to get fancy, you only need to be aware of their existence and naming conventions. A profile contains all of the information about your SQL statements–commands, input parameters, and output parameters. If your source file is Foo.sqlj, the profile will be in Foo_SJProfile0.ser. Any additional profiles would be in Foo_SJProfile1.ser, Foo_SJProfile2.ser, and so on. You will have more than one profile for an application if you use more than one connection context class, but that is an advanced topic. Most applications use only one connection context class and therefore have only one profile. (Connection contexts are explained under What’s a connection “context”? earlier in this FAQ.

Related Questions

What is your question?

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