Skip to content

Feature Request: Conditional Database connections for compilation #599

Closed

Description

@adsbhatial

Hi team,

I work in an environment(qaddb with other dbs) where there are sometimes different dbs being used for different programs in the same project. This does cause the file to not compile when using the standard db connections defined in the profile.

I currently get around this by having multiple profiles. And switch to the one I need when I need to work on that program.

What I am thinking of as a feature is something that allows for compile statement to be run with different db connections. The db connection could depend on a glob pattern based system, where you define a pattern/exact name and list the dbs you want to use while compiling the file. or you could also add annotation in the program header to use specific db.
This could also be really useful when doing entire project rebuilds.

I think it might need names for the db connections and a new pattern file.

This feature probably needs more refinement but it would be really useful for me and a lot of other people with similar situation as me.

Activity

  1. gquerret commented on Jul 31, 2026

    @gquerret
    Collaborator

    I would say that the compilation hooks are meant for that. I've seen multiple Progress development environment, they all have their own rules on how to compile modules with a specific propath, or set of database connection, or .Net libraries or weird options. Adding configuration would be an endless race against all exotic Progress configurations.

    Tagging @cverbiest or @lievendf in case they want to share their experience on this topic, I think you're using the compilation hooks to compile with a different runtime.

  2. locked and limited conversation to collaborators on Jul 31, 2026
  3. converted this issue into a discussion #600 on Jul 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions