Open topic with navigation

TIBCO® Patterns 6.1.2

# Using the Query Builder Platform to Generate Code

You can also use the query builder platform to generate Java source that implements the query builder defined by the configuration file. The generated Java source extends and uses classes contained in the query builder platform JAR file (`TIB_tps_qbp.jar`). Therefore, you must include the `TIB_tps_qbp.jar` file in the class path of any application that uses the generated query builder classes. However, the full configuration file is not needed at run time.

| — | For generated single table record matching queries, a configuration file is not required at run time. The exception is when a custom query builder class requires a configuration file.

| — | For compound record matching queries a run time configuration file is required that defines the options for the compound query builder. The tool generates this configuration.

In most cases, no practical advantage is realized by using the generated code. It might run slightly faster, however in most cases the performance difference is not noticeable. Avoiding the need for loading configurations might be an advantage in certain applications where a file system or other data store is not available. The primary use for generating the Java source is where manual editing is necessary to provide special functionality. The general query structure can be generated from a configuration, and then customized manually.

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO® Patterns

Copyright © 2010-2025. Cloud Software Group, Inc. All Rights Reserved.