Although this is not a Spring related question, I hope some bright minds can point me a right direction. I read somewhere online that I should be able to do the followings:
Code:
@Embeddable
public class A implements Serializable {
//...
    private String something;
}
and
Code:
@Entity
public class B implements Serializable {
//...
	@Embedded
	private A	a;
	
	@Embedded
	@AttributeOverrides( {
		@AttributeOverride(name = "something", column = @Column(name = "b_something")),
       // ... 
       })
	private A	a1;	
//...
But, I get the following errors:
org.hibernate.MappingException: Repeated column in mapping for entity: com.abc.xyz.sample.domain.B column: something (should be mapped with insert="false" update="false")
How to solve this problem?

Thanks very much in advance.