I want to store my table in two different databases, (for example: HyperSQL and MYSQL), but I can't duplicate table annotation like this:
@Entity(name="users")
@Table(name = "users", schema = "Users@HyperSQL_pu")
@Table(name = "users", schema = "Users@Mysql_pu")
public class UserEntitie implements Serializable {}
Have any idea, how can I do this without duplicating my bean class