Hello,
I am new to smartgwt and just evaluate the framework. I have big problems with datasource. I use jpa2 and want to try it with smartgwt. I created the .ds.xml file and do a
DataSource userDS = DataSource.get("user_DataSource");
But how can I do a simple
UserObject = select * from user where userid = 1
as an example. Your showcase shows how to bind to components but this I dont need here.
It must be simple I guess (hope) but couldnt find a sample. Can I use NamedQuery from my entity object?
Thx for any advice
Hans
I am new to smartgwt and just evaluate the framework. I have big problems with datasource. I use jpa2 and want to try it with smartgwt. I created the .ds.xml file and do a
DataSource userDS = DataSource.get("user_DataSource");
But how can I do a simple
UserObject = select * from user where userid = 1
as an example. Your showcase shows how to bind to components but this I dont need here.
It must be simple I guess (hope) but couldnt find a sample. Can I use NamedQuery from my entity object?
Thx for any advice
Hans
Comment