reza aghazade

Greenhorn
+ Follow
since Oct 01, 2013
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by reza aghazade

hi folks,,
i use code Below ( HibernateUtil Class) for creating the SessionFactory,,




But App send me an error,,



& you can see my Project Structure in here:
https://www.dropbox.com/s/vhtnfvtvcygv2ap/Untitled.png

--------------------------


there was 2 Error:

1-hibernate Cant find Hibernate.cfg.xml
2-server class 'com.mySampleApplication.client.StudentDTO' could not be found in the web app,
i change the hibernate.cfg.xml to hibernate.cfg.gwt.xml but problem is still there
the point is ,,, at now where am i & in short what is the outPut of PWD command and address the file by PWD outPut,,
8 years ago
GWT
hey man,,i put the

& App is Up but when i want to save a Object to the DB,,it send me an error,,,
i know this error what is about,,but i cant & idon't know how to resolve that,,
i use this code for Factory Session Class Creation:


& Error is :


this is my Project Structure,,

https://www.dropbox.com/s/tgcpz8luyivcgxt/gwt%2Bhibernate.png
8 years ago
GWT
hi folks,,
i have a problem with integration of gwt & hibernate,,,
when i use RPC without Hibernate & dataObj Movement over the network..it's work(for Object Like Inreger,String),,
but when i add the hibernate to the project & want to move a myOwn Class Object over the net to the server for Saving it to the DB,,it's make a error,,
this is my Error:

ERROR: Unable to find type 'com.mySampleApplication.client.MySampleApplication'
ERROR: Hint: Previous compiler errors may have made this type unavailable
ERROR: Hint: Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly
ERROR: Failed to load module 'MySampleApplication' from user agent 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/28.0.1500.71 Chrome/28.0.1500.71 Safari/537.36' at localhost:49745


this is Structure of My Project,,:

https://www.dropbox.com/s/tgcpz8luyivcgxt/gwt%2Bhibernate.png

this is my gwt Configuration File:


I have Entity CLass With name Student :

i Have Student Manager:


this is implementation of My Service in the Server :


And this is my own Code for the Client Side to send the Object to the Server,,




i'm wating for your Solutions,,
8 years ago
GWT