I have a situation in which I have 2 schemas in the same database with the same tables. We use one for testing and one for production. I have implemented a multiple schema data source strategy with data source routing. I want to be able to use the same POJOs across schemas, but the schema attribute in the on the POJO is causing issues.
I can remove the attribute manually, but for maintenance purposes I would like to have that excluded from POJO generation. Is this possible?
To clarify, the generated attribute looks like this:
Code:
@Table(name = "MICR1", schema = "MICRDBA")
I would like for it to generate this instead:
Code:
@Table(name = "MICR1")
Thanks for any input.