Hi all,
I am desperate; for the last two days I tried to get my small evaluation setup done but nothing works out.
What I want to do.
I have a sample MySQL DB and want to build a GUI to manipulate the data with as less as possible effort. That is why I came to SmartGWT and their Datasource mechanism.
Within the MySQL I have the database 'simpledialog' and within this I have one table 'persons'.
Best approach would be to have a datasource that uses hibernate to access my table.
What have I tried? / Where do I stand?
SmartGWTEE seems working as I tried some SC.say(). Additionally I got something to work within the VisualBuilder. There I created a SQL database and I am able to see the table data in a Grid. (but only in VisualBuilder)
Then I took the example 'HibernateDS' and the one from here
http://www.smartclient.com/smartgwtee/showcase/#doc_getting_started_gridview
as references. So I copied the WEB-INF folder from 'HibernateDS' and the mapping files from the documentation example.
But with this setup I get all sorts of errors. From missing Messaging Servlets to missing DAO classes ... and I do not know which of these errors I can avoid by removing unnecessary files.
Could someone guide me so that in the end I have a simple grid that accesses the mysql table data? What files do I need? (Datasource definition xml, hibernate mappings, webx.xml) And how must the configuration be done to complete this task?
I would be very thankful for some tips and some guidance!
Chris
I am desperate; for the last two days I tried to get my small evaluation setup done but nothing works out.
What I want to do.
I have a sample MySQL DB and want to build a GUI to manipulate the data with as less as possible effort. That is why I came to SmartGWT and their Datasource mechanism.
Within the MySQL I have the database 'simpledialog' and within this I have one table 'persons'.
Best approach would be to have a datasource that uses hibernate to access my table.
What have I tried? / Where do I stand?
SmartGWTEE seems working as I tried some SC.say(). Additionally I got something to work within the VisualBuilder. There I created a SQL database and I am able to see the table data in a Grid. (but only in VisualBuilder)
Then I took the example 'HibernateDS' and the one from here
http://www.smartclient.com/smartgwtee/showcase/#doc_getting_started_gridview
as references. So I copied the WEB-INF folder from 'HibernateDS' and the mapping files from the documentation example.
But with this setup I get all sorts of errors. From missing Messaging Servlets to missing DAO classes ... and I do not know which of these errors I can avoid by removing unnecessary files.
Could someone guide me so that in the end I have a simple grid that accesses the mysql table data? What files do I need? (Datasource definition xml, hibernate mappings, webx.xml) And how must the configuration be done to complete this task?
I would be very thankful for some tips and some guidance!
Chris
Comment