I am using SmartGWTEE 2.3.
I'm using the com.isomorphic.jpa.GAEJPADataSource and am a bit stumped on how to do something which I thought would be simple. I would greatly appreciate some help.
I have two classes
class A {
String aId;
String aValue1;
String aValue2;
}
class B {
String bId;
String aId;
}
In my datasource definition for B, I would like to be able to define
bId, aId, aValue1, aValue2
So, aValue1 and aValue2 come from A based on the foreignKey aId.
Is there an easy way to do this using a JPA DataSource? I realize I could create a DMI DataSource but that seems like overkill for such a simple operation.
I'm using the com.isomorphic.jpa.GAEJPADataSource and am a bit stumped on how to do something which I thought would be simple. I would greatly appreciate some help.
I have two classes
class A {
String aId;
String aValue1;
String aValue2;
}
class B {
String bId;
String aId;
}
In my datasource definition for B, I would like to be able to define
bId, aId, aValue1, aValue2
So, aValue1 and aValue2 come from A based on the foreignKey aId.
Is there an easy way to do this using a JPA DataSource? I realize I could create a DMI DataSource but that seems like overkill for such a simple operation.
Comment