Already existed annotations present at the top of class are removing and whatever i added using Javassist are adding but not taking any effect.
suppose
@Entity
class Master
{
//variables
//getters and setters
}
What i need is to add extra annotation @Table(name="Master",schema="Master_Database") to be added via Javassist dynamically to the above class 'Master'.
What i'm facing is @Entity is removed and @Table is successfully added. This causes loss of functionality of eclipseLink auto generation of entity classes. Plz help me