We typically like to specify the schema in database.properties file associated with the project's spring context XML. This allows us to deploy our application in environments where schema naming is controlled by the respective organization's IT team (typical of financial customers)
While using roo-dbre to reverse engineer an Oracle schema we realized that Roo generates the following annotation in the *_Roo_Jpa_Entity class:
Is there anyway to configure Roo not to generate the schema attribute?
declare @type: Table2: @Table(schema = "TESTSCHEMA", name = "TABLE_2");
For the record, a hand written JPA Entity without the schema attribute works perfectly well and according to @Table annotation's documentation schema attribute is optional.