[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.rt.eclipselink] Re: Everything works with Toplink essential but..
|
Here are the classes (cut down for clarity)
EMBEDDABLE class:
@Embeddable
@SuppressWarnings("serial")
public class Segment30 implements Serializable {
public Segment30() {
this( null );
}
public Segment30( Segment30Type data) {
super( data, Segment30Type.class );
}
@Column(name="CUSTOM01")
@StringLength(maxLength=150)
public String getS1() {
return getData().getS1();
}
public void setS1(String value) {
getData().setS1( value );
}
}
OWNING class has following:
@Embedded
@AttributeOverrides
({
@AttributeOverride( name="s1", column=@Column(name = "CUSTOM01")
) })
public Segment30 getCustomSegments()
{
return customSegments.getEntity();
}
public void setCustomSegments(final Segment30 value)
{
customSegments.setEntity( value );
}
Hope it helps you to help me.
Thanks in advance.
Buraluit