Re: GWT, Hibernate and a many to many relationship

2014-08-04 Thread Moutellou
You can also give a try to RequestFactory http://www.gwtproject.org/doc/latest/DevGuideRequestFactory.html, which solves the client/server object serialization issue. On Wednesday, July 30, 2014 5:07:18 AM UTC-4, Peter S. wrote: Hey all, after searching the complete web for a solution and

Re: GWT, Hibernate and a many to many relationship

2014-08-04 Thread Juan Pablo Gardella
See https://bitbucket.org/gardellajuanpablo/gwt-sample/wiki/Home There you have a Hibernate Filter that solves your problem. I suggest don't use Gilead or these solutions, it's better use DTOs. It's common using the model directly in the pages for example with JSF, but it's not a good practice in

Re: GWT, Hibernate and a many to many relationship

2014-08-03 Thread Peter S.
Hey Timothy, yes you are allright and a colleague and me found out that we have to transform the object in the RPC call. Therefore gwt offers a method : net.sf.gilead.gwt.clone(Object hibernatePojo) this transforms the object to POJO. Thanks for your post! Am Donnerstag, 31. Juli 2014

GWT, Hibernate and a many to many relationship

2014-07-31 Thread Peter S.
Hey all, after searching the complete web for a solution and didn't find one, I will try to share my problem with you ;).. Well I have the famous failure with GWT and Hibernate: java.lang.RuntimeException: com.google.gwt.user.client.rpc.SerializationException: Type

Re: GWT, Hibernate and a many to many relationship

2014-07-31 Thread Timothy Spear
The basic answer is you cannot. You will need to transform the Hibernate object into a POJO to make it serial, this is a requirement of any object being passed between the client and the server in GWT. Tim On Jul 30, 2014, at 5:07 AM, Peter S. stoffels.pe...@googlemail.com wrote: Hey all,

Re: GWT+Hibernate

2014-03-06 Thread Amir kessentini
Hey again :) i have read GWT homepage article and i'm developping an example which i have a user interface and i want to save the informations on database using postgres as SGBD. i follow the steps but i got a problem that i couldn't resolve. com.google.gwt.user.server.rpc.UnexpectedException:

Re: GWT+Hibernate

2014-03-06 Thread Andy Stevko
Move the classes that are referenced both on the client server (like DTO) into the shared package. Strip down SavePersonne() to almost nothing to see what is causing the Initialization exception. Perhaps your web.xml is misconfigured? This tutorial runs through all the steps to setting up RPC

Re: GWT+Hibernate

2014-03-04 Thread Amir kessentini
Could anywone help me ? i want a clear exemple to understand how hiberbate works with rpc call in gwt -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: GWT+Hibernate

2014-03-04 Thread Jens
Hibernate is a server technology and you only have problems if you want to share the same Hibernate classes between server and browser/client. There are tons of resources about hibernate and GWT out there so just read them. Event the GWT homepage has an article about it:

GWT+Hibernate

2014-03-03 Thread Amir kessentini
Hello every Body, Since i'm new programmer in GWT, i got many problem in the way how to integrate hibernate with gwt. if anyone could help me, i wloud be so grateful. thanks :) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe

Re: GWT+Hibernate

2014-03-03 Thread Ed
Let me google it for you: http://bit.ly/1lveiVL -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to

Re: GWT-Hibernate application do not release session resources

2013-11-05 Thread aironesoft
Jens, thanks for your kind answer. I'll let you know if what you suggest will fix our problems. Il giorno lunedì 4 novembre 2013 19:28:04 UTC+1, Jens ha scritto: Is the HashMap get/put code inside getFactory(String persistenceUnit) synchronized? If not there is a chance that you create

GWT-Hibernate application do not release session resources

2013-11-04 Thread aironesoft
We have developed a gwt-hibernate multi database application which is running on Glassfish and using Oracle datatabase. After a connection to a default database which is addressed by a default persistence unit like the following: persistence-unit name=DefaultDBConnection transaction-type

Re: GWT-Hibernate application do not release session resources

2013-11-04 Thread Jens
Is the HashMap get/put code inside getFactory(String persistenceUnit) synchronized? If not there is a chance that you create more than one factory if you do not have an entry in your HashMapString, EntityManagerFactory instance yet. HashMap is not thread safe and if x threads call

Re: Problem with GWT+Hibernate

2013-10-02 Thread Jens
Change source path=com.mySampleApplication.client/ to source path=client/ Then please google for some GWT + Hibernate tutorials as your code also has some other flaws. First you wan to share a hibernate entity which is not that easy because hibernate rewrites your entity class which causes

GWT Hibernate Lazy Loading

2012-12-12 Thread mace
Hello, I'am using GWT-Entityproxy with Hibernate and Spring. Everything works fine except some database-queries that I'd like to decrease, when I send persistent entities to the server. What I ask myself is if I can read the String-Array I send on the client side with the

Re: GWT HIBERNATE SPRING MYSQL Example

2012-09-25 Thread domenico cimadoro
hello I ve the same problem ,you found something of interesting? Thanks Domenico Il giorno mercoledì 27 aprile 2011 10:25:32 UTC+2, junaidp ha scritto: Hi I am looking for some example / tutorial for GWT , HIBERNATE , SPRING , MYSQL Integration I've been looking on google

Re: GWT Hibernate integration EROR : Exception while dispatching incoming RPC call

2012-06-23 Thread harish saharan
Paste all your hibernate jars in your web-inf/lib folder . On Wednesday, 13 June 2012 12:47:17 UTC+5:30, Rahul Gamit wrote: Hello i have followed https://developers.google.com/web-toolkit/articles/using_gwt_with_hibernatetutorial to integrate gwt and hibernate. I have used

Re: GWT Hibernate integration EROR : Exception while dispatching incoming RPC call

2012-06-21 Thread Nikola Markovic
Also, make sure you got all the required jars copied into the WEB-INF\lib folder. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/CCHBM1AkvRgJ.

Re: GWT Hibernate integration EROR : Exception while dispatching incoming RPC call

2012-06-20 Thread Rob
Hi, This post make help: http://uptick.com.au/content/working-gwt-jpa-hibernate-and-hsqldb Cheers Rob Kiahu.com -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: GWT Hibernate integration EROR : Exception while dispatching incoming RPC call

2012-06-20 Thread Rob Whiteside
Looks like a classpath problem. I don't think you have all your hibernate jars in place. Do you have a slf4j-api in your WEB-INF/lib? On Wednesday, June 13, 2012 12:17:17 AM UTC-7, Rahul Gamit wrote: Hello i have followed

GWT Hibernate integration using Gilead

2012-06-07 Thread rahul.gamit89
Hello, I have developed a sample application for GWT and Hibernate integration using Gilead, But i am getting the following error. Caused by: java.lang.RuntimeException: Deferred binding failed for 'com.google.employee.client.EmployeeService' (did you forget to inherit a required module?) at

Re: GWT + Hibernate + MySQL inside Eclipse

2012-06-01 Thread Bill Compton
See this thread.http://stackoverflow.com/questions/10712365/cant-configure-mysql-datasource-in-gwt-hibernate-mysql-project On Sunday, May 20, 2012 5:42:49 PM UTC-6, Bill Compton wrote: Our Hibernate setup works fine in non-GWT projects. I'm using Eclipse Indigo, Google Suite Plugin 2.5

GWT + Hibernate + MySQL inside Eclipse

2012-05-23 Thread Bill Compton
Our Hibernate setup works fine in non-GWT projects. I'm using Eclipse Indigo, Google Suite Plugin 2.5, Google GWT Designer 2.4.2. The short-short version is that the MysqlConnectionPoolDataSource class from jetty-env.xml is evidently not getting instantiated, causing the resource reference

GWT + Hibernate + hsqldb

2012-04-27 Thread rahul.gamit89
Hello i have created a simple GWT application which allows user to add Name,address,email,sex and phone number. E.G On UI there is 4 text boxes for Name,address,phone,email and select box for sex I have implemented hibernate and hsqldb, but when i am running the program it gives me the

Re: GWT + Hibernate + hsqldb

2012-04-27 Thread Gmane
On 4/26/2012 10:09 PM, rahul.gamit89 wrote: Hello i have created a simple GWT application which allows user to add Name,address,email,sex and phone number. E.G On UI there is 4 text boxes for Name,address,phone,email and select box for sex I have implemented hibernate and hsqldb, but when i

GWT+ hibernate

2012-03-13 Thread Akram Moncer
hello all can someone tell me how can create a webapp with GWT 2.4 and hibernate and how can i deploy it to google app engine thinks; -- Akram MONCER Personne -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send

Re: GWT+ hibernate

2012-03-13 Thread Sebastian Gurin
About GWT and hibernate, you have a lot of post explaining what needs to be done for getting GWT and hibernate work toghether. About GWT+hibernate+appengine, I don't think it is possible to use hibernate on appengine based projects. Regards On Tue, 13 Mar 2012 09:36:57 +0100 Akram Moncer

Re: GWT+ hibernate

2012-03-13 Thread Akram Moncer
ok thinks Le 13 mars 2012 15:56, Sebastian Gurin sgu...@softpoint.org a écrit : About GWT and hibernate, you have a lot of post explaining what needs to be done for getting GWT and hibernate work toghether. About GWT+hibernate+appengine, I don't think it is possible to use hibernate

Re: GWT+ hibernate

2012-03-13 Thread Joseph Lust
Try GWT+JDO+AppEngine. Hibernate does not work work well with the non-relational data stores of GAE. There is much documentation available on how to do this. Sincerely, Joe -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this

GWT+hibernate annotations+persisting Enum

2011-09-26 Thread Marko Borges
Hey everyone! I am having a problem in persisting a postgres enum using hibernate and GWT. When i follow some instructions that i found around Web, it says that client module does not support one class used to trick for persistence. Does anyone know how to do it? Thanks, Mark -- You received

Re: GWT+hibernate annotations+persisting Enum

2011-09-26 Thread Juan Pablo Gardella
Can you share the stack trace? 2011/9/26 Marko Borges markoborge...@gmail.com Hey everyone! I am having a problem in persisting a postgres enum using hibernate and GWT. When i follow some instructions that i found around Web, it says that client module does not support one class used to

Re: GWT+hibernate annotations+persisting Enum

2011-09-26 Thread Marko Borges
Says that the column is of type XXX (my postgres enum) and I am trying to insert varchar... I know its an hibernate problem but i cant make some solutions showed in web cause client side does not support UserType class, for example. I am trying to use Type annotation btw, and it doesnt work...

Re: GWT+hibernate annotations+persisting Enum

2011-09-26 Thread Juan Pablo Gardella
Use JPA2 if you can, it has native support to enums. See Mapping simple propertieshttp://docs.jboss.org/hibernate/annotations/3.5/reference/en/html/entity.html#entity-mapping-property in hibernate manual reference, the *Enumerated *annotation. 2011/9/26 Marko Borges markoborge...@gmail.com Says

Re: GWT+hibernate annotations+persisting Enum

2011-09-26 Thread Marko Borges
Well, thanks... I tried it and now says it tries to insert integer but i dont know why: public enum BoundType { UPPER, LOWER, REF; } Im my class i have the attribute: @Enumerated(EnumType.STRING) public BoundType getType() { return this.type; } and then i call it Boundtype bt = new

Re: GWT+hibernate annotations+persisting Enum

2011-09-26 Thread Juan Pablo Gardella
What jpa providers (and version) are you use? 2011/9/26 Marko Borges markoborge...@gmail.com Well, thanks... I tried it and now says it tries to insert integer but i dont know why: public enum BoundType { UPPER, LOWER, REF; } Im my class i have the attribute:

Re: GWT+hibernate annotations+persisting Enum

2011-09-26 Thread Marko Borges
Guess I have to update my Hibernate. I am using version 3.2.5 and maybe need at least 3.5 to use JPA2. Am I correct? Thanks Juan, really!!! 2011/9/26 Juan Pablo Gardella gardellajuanpa...@gmail.com What jpa providers (and version) are you use? 2011/9/26 Marko Borges markoborge...@gmail.com

Re: GWT+hibernate annotations+persisting Enum

2011-09-26 Thread Marko Borges
Actually i am using hibernate-jpa-2.0-api-1.0.0.Final.jar I think it is supposed to work... 2011/9/26 Marko Borges markoborge...@gmail.com Guess I have to update my Hibernate. I am using version 3.2.5 and maybe need at least 3.5 to use JPA2. Am I correct? Thanks Juan, really!!!

Re: GWT+hibernate annotations+persisting Enum

2011-09-26 Thread Juan Pablo Gardella
Sure, hibernate 3.2.5 not support jpa2 :), yes you must update your hibernate version, for example to 3.6.x. Version 4 I'm not sure if is stable. 2011/9/26 Marko Borges markoborge...@gmail.com Guess I have to update my Hibernate. I am using version 3.2.5 and maybe need at least 3.5 to use

Re: GWT+hibernate annotations+persisting Enum

2011-09-26 Thread Juan Pablo Gardella
Can you share the classpath? In what servlet container are you running or you make a test? Juan 2011/9/26 Marko Borges markoborge...@gmail.com I updated to version 3.6.7 final version and it looks that the same happens :( Caused by: java.sql.BatchUpdateException: Batch entry 0 insert into

Re: GWT+hibernate annotations+persisting Enum

2011-09-26 Thread Marko Borges
-src --com.nameproject.client.services (where I use Services and ServicesAsync and my EntryPoint) --com.nameproject.server (where I have my ServicesImpl) (for example: hibernateTemplate.save(object)) --com.nameproject.shared.enums (my enum that i showed u before) --com.nameproject.shared.entities

Re: GWT+hibernate annotations+persisting Enum

2011-09-26 Thread Juan Pablo Gardella
BoundType isn't an enum. It must be: enum BoundType { ... } 2011/9/26 Marko Borges markoborge...@gmail.com -src --com.nameproject.client.services (where I use Services and ServicesAsync and my EntryPoint) --com.nameproject.server (where I have my ServicesImpl) (for example:

Re: GWT+hibernate annotations+persisting Enum

2011-09-26 Thread Marko Borges
no... i actually have an enum called BoundType and an entity class called Boundtype. My enum is: public enum BoundType { UPPER, LOWER, REF; } my Boundtype is what i showed u before 2011/9/26 Juan Pablo Gardella gardellajuanpa...@gmail.com BoundType isn't an enum. It must be: enum BoundType {

gwt hibernate

2011-07-20 Thread asi
hi everyone ,i need help ton figure out how to use hibernate and gwt or gxt together nothing that i found seemed to work thx -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: gwt hibernate

2011-07-20 Thread Juan Pablo Gardella
See this threadhttp://groups.google.com/group/google-web-toolkit/browse_thread/thread/7e46e8c33e7ee5da/e80d1eff4ddb7a81?pli=1 . 2011/7/20 asi mbkas...@gmail.com hi everyone ,i need help ton figure out how to use hibernate and gwt or gxt together nothing that i found seemed to work thx --

Re: gwt hibernate

2011-07-20 Thread swapnil marghade
GWT supports hibernate let me know what problem or issue you are facing .. On Wed, Jul 20, 2011 at 4:19 PM, asi mbkas...@gmail.com wrote: hi everyone ,i need help ton figure out how to use hibernate and gwt or gxt together nothing that i found seemed to work thx -- You received this

Re: gwt hibernate

2011-07-20 Thread Néstor Boscán
Hi Asi The problem with Hibernate and GWT is that Hibernate needs to return Hibernate proxy classes so it can detect changes made to your objects and detect access to associations that are not loaded. The problem with this mechanism is that when you try to serialize your classes through

Re: gwt hibernate

2011-07-20 Thread Kevin Anderson
If you use spring to manage your session the lazy initialization is not a problem. You can add a filter in your web.xml that will keep a entityManager open through the entire request and response lifecycle. That filter is org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter. This

GWT HIBERNATE SPRING MYSQL Example

2011-04-27 Thread junaid
Hi I am looking for some example / tutorial for GWT , HIBERNATE , SPRING , MYSQL Integration I've been looking on google for that but no success , Any help would be appreciated.. thanks junaid -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group

GWT Hibernate Integration

2010-09-20 Thread Ketan Nale
Hi, I am doing GWT and Hibernate integration (without spring) in my application. I have put entry in of POJO’s and hbm file package In my ….gwt.xml file like source path='domain'/ source path='hbm'/ I have written my hibernate.cfg.xml file and Accessing data from my service class

Re: GWT Hibernate Integration

2010-09-20 Thread John Ivens
Have you included the hibernate jars in your war/WEB-INF/lib directory when you deploy? On Mon, Sep 20, 2010 at 2:00 AM, Ketan Nale ketann...@gmail.com wrote: Hi, I am doing GWT and Hibernate integration (without spring) in my application. I have put entry in of POJO’s and hbm file package

Re: GWT Hibernate Integration

2010-09-20 Thread Thomas Broyer
On Sep 20, 11:00 am, Ketan Nale ketann...@gmail.com wrote: Errors in 'file:/E:/ workspace/GwtTest/src/edu/projectDir/util/ HibernateUtil.java Line 7: No source code is available for type org.hibernate.SessionFactory; did you forget to inherit a required module? Line 12: No source code is

Re: GWT Hibernate Integration

2010-09-20 Thread Harpal Grover
Hi, Have you heard of the Gilead project(http://noon.gilead.free.fr/gilead/ index.php?page=tutorial) It deals with workarounds with GWT-Hibernate integration. You may want to take a look at it, I was able to integrate hibernate with gwt using this library. Thanks Harpal On Sep 20, 5:00 am

Re: GWT + Hibernate problem (Unknown entity exception)

2010-08-19 Thread francescoNemesi
You can't do it directly, you need to use something like http://sourceforge.net/projects/gilead/ A good reference article for GWT and Hibernate http://code.google.com/webtoolkit/articles/using_gwt_with_hibernate.html Hope it helps, F On Aug 19, 5:11 am, awate...@gmail.com awate...@gmail.com

Re: GWT + Hibernate problem (Unknown entity exception)

2010-08-19 Thread francescoNemesi
You can't do it directly, a good reference: http://code.google.com/webtoolkit/articles/using_gwt_with_hibernate.html http://noon.gilead.free.fr/gilead/ Regards, F On Aug 19, 5:11 am, awate...@gmail.com awate...@gmail.com wrote: is com.bancika.client.data.User annotated with �...@entity?

Re: GWT + Hibernate problem (Unknown entity exception)

2010-08-18 Thread awate...@gmail.com
is com.bancika.client.data.User annotated with @Entity? also there is no difference between using j2ee and gwt with respect to setting up hibernate On Aug 15, 12:48 pm, Bancika banc...@gmail.com wrote: I'm using hibernate to map my data in GWT and have some weird problems. Here's my setup.

GWT + Hibernate problem (Unknown entity exception)

2010-08-17 Thread Bancika
I'm using hibernate to map my data in GWT and have some weird problems. Here's my setup. * HSQL database * entity class is in client folder * annotated class (tried with hbm.xml file, same result) the problem is that my mapped class does not get registered in the config for some reason. I tried

Re: GWT + Hibernate + MySQL + Tomcat + Ant + Log4j + SVN; is this possible all together?

2010-08-06 Thread Yau
I think this is a group created to help each other, right? On Aug 6, 5:33 am, Sanky 74.san...@gmail.com wrote: Oh really!!! that s great.This message boost up my confidence. I am trying to create a whole setup. Would you help me if I may need? On Aug 4, 6:33 am, Fernando

Re: GWT + Hibernate + MySQL + Tomcat + Ant + Log4j + SVN; is this possible all together?

2010-08-06 Thread Yau
GWT without RPC is just AJAX, right? You can run it locally from the file system. On Aug 6, 5:34 am, nino ekambi jazzmatad...@googlemail.com wrote: How do you guys  are getting a gwt app to work like a standalone app ? greets 2010/8/5 Sanky 74.san...@gmail.com Oh really!!! that s great.This

Re: GWT + Hibernate + MySQL + Tomcat + Ant + Log4j + SVN; is this possible all together?

2010-08-05 Thread Yau
Yes, of course you can. That's what my project was used to me. But now I have switched to jetty from tomcat as the default app server in eclipse is jetty. And once in a blue moon, there is some subtle difference between jetty and tomcat which makes it so hard to debug. GWT is NOT only for

Re: GWT + Hibernate + MySQL + Tomcat + Ant + Log4j + SVN; is this possible all together?

2010-08-05 Thread Sanky
Oh really!!! that s great.This message boost up my confidence. I am trying to create a whole setup. Would you help me if I may need? On Aug 4, 6:33 am, Fernando spiderkens...@gmail.com wrote: Yes, I did a project a few months ago with everything you listed except, maybe, Hibernate I say maybe

Re: GWT + Hibernate + MySQL + Tomcat + Ant + Log4j + SVN; is this possible all together?

2010-08-05 Thread nino ekambi
How do you guys are getting a gwt app to work like a standalone app ? greets 2010/8/5 Sanky 74.san...@gmail.com Oh really!!! that s great.This message boost up my confidence. I am trying to create a whole setup. Would you help me if I may need? On Aug 4, 6:33 am, Fernando

Re: GWT + Hibernate + MySQL + Tomcat + Ant + Log4j + SVN; is this possible all together?

2010-08-04 Thread Fernando
Yes, I did a project a few months ago with everything you listed except, maybe, Hibernate I say maybe because the project itself used an internal framework very similar to Hibernate On 3 ago, 05:18, Sanky 74.san...@gmail.com wrote: Hello, I am learning GWT for a while. I tried tutorials of GWT.

Re: GWT + Hibernate + MySQL + Tomcat + Ant + Log4j + SVN; is this possible all together?

2010-08-04 Thread nino ekambi
How did u get the application to be standalone? Did used gears or something like that? Greets Am 04.08.2010 15:33 schrieb Fernando spiderkens...@gmail.com: Yes, I did a project a few months ago with everything you listed except, maybe, Hibernate I say maybe because the project itself used an

GWT + Hibernate + MySQL + Tomcat + Ant + Log4j + SVN; is this possible all together?

2010-08-03 Thread Sanky
Hello, I am learning GWT for a while. I tried tutorials of GWT. I learnt Hibernate as well. Now I am going to work on a real application. It is divided into 2 parts: Standalone Desktop mode(without internet connection) and web mode(with internet connection, front end will remain same as for

Re: GWT HIBERNATE ECLIPSE

2010-07-27 Thread Sebastian Coronado A.
Hello here is it: ?xml version=1.0 encoding=UTF-8? module rename-to='hiberpost' !-- Inherit the core Web Toolkit stuff.-- inherits name='com.google.gwt.user.User'/ !-- Inherit the default GWT style sheet. You can change -- !-- the theme of your GWT

GWT HIBERNATE ECLIPSE

2010-07-26 Thread Sebastian Coronado A.
Hello I am testing a gwt project using rpc to comunicate with the server, using hibernate and postgres, Everything compiles okey but when I run it as a Web Aplicacation it says the following error: 21:41:22.992 [ERROR] [hiberpost] Errors in 'file:/Users/Sebastian/

Re: Managing DB Sessions/connection with GWT + Hibernate

2010-07-09 Thread Stefan Bachert
Hi, there is nothing special in a GWT servlet regarding hibernate. You can use any best practice you know or find for classical web technology. But aware, classical technology renders the gui as html in the server (making the server in truth to a fat-client using the browser as an

Managing DB Sessions/connection with GWT + Hibernate

2010-07-08 Thread ialexei
Hi, What is the best practice to manage Hibernate sessions in a GWT servlet ? The following article on Google code shows some basic code to use Hibernate with GWT. http://code.google.com/webtoolkit/articles/using_gwt_with_hibernate.html However I don't see any calls that close the Session

Re: GWT Hibernate Project Structure

2010-05-27 Thread Yau
I haven't tried Maven but I'm using GWT + Hibernate3 + Gilead. It's very difficult to setup Gilead as the example provided by GWT is very very outdated and no longer compatible. It took me 2 days to figure out how to set it up with the correct jar, import path and syntax. If you're still

Re: GWT Hibernate Project Structure

2010-05-27 Thread Maurice Nee
Thanks Yau, That would be great. Any info you could give me on how you setup your project would be great. Are you using Eclipse? Also, is it the correct procedure to place your Hibernate jars and dependencies in the war/WEB- INF/lib directory and then add them to the build path? Thanks for your

Re: GWT Hibernate Project Structure

2010-05-25 Thread Maurice Nee
Thanks Gabriel, I've read differing opinions on whether client and server code should be split into two projects. At this point, I really don't care which about which approach I use as long as I get something up and running that is error free. Could someone explain to me a specific procedure for

Re: GWT Hibernate Project Structure

2010-05-22 Thread Gabriel
Hi, Do you have a reason for splitting the application into two projects? If not, there is nothing preventing you from using a single project for both client and server. If you do need to have two projects, you can use two (server and client) or three (server, client and common) modules under one

GWT Hibernate Project Structure

2010-05-21 Thread Maurice Nee
Hi, This is my first ever forum post. I really need some help with understanding how to setup a GWT 2.0 Hibernate3 project. I understand the GWT RPC mechanism and the problems with serializing Hibernate POJOs. I would prefer to use DTO's rather than Gilead or Dozer. So far, I have a Hibernate

GWT/Hibernate/Oracle/Eclipse

2010-03-31 Thread bebauer1200
Hello, please, can anyone help me? I use GWT as Client and Hibernate as Database Interface and as Database Oracle. I installed eclipse with the hibernate and the GWT plugin. Then I implemented hibernate in server side of GWT. Then I start the Google App Engine in eclipse and it works. Then I

Re: GWT/Hibernate/Oracle/Eclipse

2010-03-31 Thread Jason Hatton
Read the developer's guide :). There is a white list of classes for both Google App Engine and Web Tool Kit. You have run into that restriction. You will probably have issues with trying to use Hibernate. If you are using Google App Engine you will have to you use App Engine's JDO or JPA

GWT/Hibernate/Oracle/Eclipse

2010-03-31 Thread Jason Hatton
Read the developer's guide :). There is a white list of classes for both Google App Engine and Web Tool Kit. You have run into that restriction. You will probably have issues with trying to use Hibernate. If you are using Google App Engine you will have to you use App Engine's JDO or JPA

Re: GWT/Hibernate/Oracle/Eclipse

2010-03-31 Thread Jas
Sorry for the double reply. I got a email saying it was rejected. It lied I guess. On Mar 31, 5:19 am, bebauer1200 be.ba...@gmx.at wrote: Hello, please, can anyone help me? I use GWT as Client and Hibernate as Database Interface and as Database Oracle. I installed eclipse with the

Re: GWT/Hibernate/Oracle/Eclipse

2010-03-31 Thread Katharina Probst
It sounds like you're using a class that is not supported by AppEngine. But it also sounds like you don't want to use AppEngine ( http://code.google.com/appengine/) in the first place, because you have your own oracle database. I don't know what you mean by start the Google App Engine in

Re: GWT Hibernate issue

2009-05-19 Thread Raul
Hi Jim/all I have solved my problem I have used c3p0 and its basic configuration, to do its work for me. To use c3p0, I have configured my hibernate.cfg.xml file, hibernate.properties file, Tomcat Context.xml file and add the c3p0.jar file to my CLASSPATH that can be downloaded either from

Re: GWT Hibernate issue

2009-05-16 Thread Raul
/list On May 15, 9:52 am, Raul raahoo...@gmail.com wrote: Hello all, At present I am trying to integrate GWT Hibernate and MySQL in Tomcat5. I am using Hibernate to access my database in a servlet as public class DBConnectionImpl extends RemoteServiceServlet implements DBConnection

GWT Hibernate issue

2009-05-15 Thread Raul
Hello all, At present I am trying to integrate GWT Hibernate and MySQL in Tomcat5. I am using Hibernate to access my database in a servlet as public class DBConnectionImpl extends RemoteServiceServlet implements DBConnection { private Session session; public DBConnectionImpl

Re: GWT Hibernate issue

2009-05-15 Thread Jim
You have to explicitly throw any exceptions in all service methods. Jim http://www.gwtorm.com For GWT ORM http://code.google.com/p/dreamsource-orm/downloads/list On May 15, 9:52 am, Raul raahoo...@gmail.com wrote: Hello all, At present I am trying to integrate GWT Hibernate and MySQL

Re: Integrating GWT/Hibernate, what does SPRING give us?

2009-02-17 Thread Arno
The class below can be used as a base to GWT RPC server-side classes to inject spring dependencies package com.al.gwtutil; import com.google.gwt.user.server.rpc.RemoteServiceServlet; import org.springframework.beans.factory.access.BeanFactoryLocator; import

Re: Integrating GWT/Hibernate, what does SPRING give us?

2009-02-13 Thread Arthur Kalmenson
That book gives some good information on how to integrate Spring with GWT. Unfortunately, it's become rather dated and focuses on building Web sites with GWT aspects rather then building Web applications. Spring MVC can still be used with GWT to make the server side for your GWT-RPC interfaces.

Re: Integrating GWT/Hibernate, what does SPRING give us?

2009-02-12 Thread Jorge Guerrero Damian
I'm starting to learn gwt, but I know something about spring. - Spring is powerfull with security issues (I recomend that) - The Spring MVC module is usefull to have a clean separation of the code. - Spring have a great integration with hibernate, in topics like sessions, transactions, and

Re: Integrating GWT/Hibernate, what does SPRING give us?

2009-02-12 Thread Christoph
Thanks Jorge, for you info. After a bit more research, I posted a similar question on the Spring forum, with a bit more detail: http://forum.springsource.org/showthread.php?t=67423 It a first glance, it appears that Springs MVC is tailored to traditional form based HTTP GET/POST type web

Re: Integrating GWT/Hibernate, what does SPRING give us?

2009-02-12 Thread Jorge Guerrero Damian
I have some of experience working with Spring MVC and Velocity in the view. With Spring MVC you can send to the view POJOs, and from the client I receive the data with GET/POST. you can take a look to this link http://noon.gilead.free.fr/gilead/ maybe can be usefull. I'm starting to read a book

Integrating GWT/Hibernate, what does SPRING give us?

2009-02-11 Thread Christoph
We have a Tomcat-based GWT application that we are looking to scale. Our persistence up until this point has been all via XML. We are have chosen to integrate with Hibernate and see a lot of talk about the Spring Framework. So my questions to the GWT community are this: What benefit does