Feature Flags on Model field

I’m wondering if anything exists in hibernate where we can toggle on/off the persistence of a field.

Currently, I have a field that maps to a column in the database, but the column only exists in the QA environment, not production just yet. So I am wondering if hibernate has anything which can turn a field from a column to transient dynamically based on a feature flag boolean?

Since SQL is generated on boot, this is not possible. What you can do though, is to mark a field as transient during the boot phase, through e.g. a MetadataContributor.