Questions tagged [gilead]

Gilead was previously known as hibernate4gwt : the library has been renamed to reflect a more general purpose than just these two target frameworks, but of course, it still supports them.

Gilead permits you to use your Persistent POJO (and especially the partially loaded ones) outside the JVM (GWT, Flex, XML, Google AppEngine...) without pain. No LazyInitialisationException. No DTO mapping. Just POJO and Domain Driven Design.

Features

  • Seamless clone and merge:
    Persistent entity can be cloned to be sent outside the JVM without pain and exceptions. They can also be merged when back on the server, so the merged instance can be reused as a classical detached entity. enter image description here

  • RIA frameworks integration:
    Gilead provides adapters for seamless integration with GWT (from 1.5 to 2.0) and Flex/BlazeDS frameworks.

Useful links:

40 questions
9
votes
3 answers

Gilead replacement to glue GWT and Hibernate together

Till recently Gilead looked like the best solution to glue GWT and Hibernate together. Unfortunately, Gilead project seems to be abandoned and was not upgraded for new GWT 2.5, which makes us look for a replacement. Do you know of any new project…
ATrubka
  • 3,982
  • 5
  • 33
  • 52
8
votes
4 answers

I am getting an error with a oneToMany association when using annotations with gilead for hibernate through gwt

I'm using Gilead to persist my entities in my GWT project, im using hibernate annotations aswell. my problem is on my onetomany association.this is my User class that holds a reference to a list of FileLocations @Entity @Table(name =…
molleman
  • 2,934
  • 16
  • 61
  • 92
7
votes
4 answers

RPC Error after GWT 2.3 upgrade

After upgrading to GWT 2.3 some of my RPC services no longer work and fail with "The response could not be deserialized". It seems to happen to services that are returning objects that are use Date objects that are annotated with …
KevMo
  • 5,590
  • 13
  • 57
  • 70
5
votes
2 answers

Interfaces with hibernate annotations

i am wondering how i would be able to annotate an interface @Entity @Table(name = "FOLDER_TABLE") public class Folder implements Serializable, Hierarchy { @Id @GeneratedValue(strategy = GenerationType.AUTO) @Column(name = "folder_id",…
molleman
  • 2,934
  • 16
  • 61
  • 92
5
votes
3 answers

"Duplicate method" error when using Hibernate + Javassist + Gilead

My web app is using GWT 2.0.2, GXT 2.1.1, Hibernate 3.5-CR1, Javassist 3.11.0 and Gilead 1.3.1 (latest from SVN). My app was running just fine with GWT 1.7.1 + Gilead 1.2. I want to take advantage of some of the features of GWT 2.0, and figured…
mshafrir
  • 5,190
  • 12
  • 43
  • 56
4
votes
3 answers

TransientObjectException error occurs after first save

I am getting a TransientObjectException whenever I make a consecutive save; I do not get this error on the first save or if I refresh the screen/page. This is pretty confusing to me since once the object has been saved sucessfully it should not be…
mr nooby noob
  • 1,860
  • 5
  • 33
  • 56
2
votes
1 answer

Are there any other possible reasons for getting a GWT Serialization Policy exception?

I've been poking through this for about a week or so, now, and haven't found anything. I'm building an application with GWT, Hibernate, and Gilead, and I'm attempting to make an rpc call that loads a list of LightEntity objects from the database.…
Kris
  • 566
  • 3
  • 12
2
votes
0 answers

Glassfish 3.1 and Gilead

Is it posible to use Gilead for a GWT app and Glassfish 3.1 together? I've tried this in a servlet: @PersistenceUnit EntityManagerFactory emf; @Override public void init() throws ServletException { super.init(); HibernateJpaUtil…
narduk
  • 964
  • 1
  • 9
  • 19
2
votes
1 answer

SmartGWT, Spring, Hibernate and Gilead

I'm writing GWTSmart application using the free version. On the client side I have a grid with RestDataSource that make request to my Servlet. I read startrow, endrow ... parameters and decide what to read from database using JDBC (MySQL). With…
Julian Popov
  • 17,401
  • 12
  • 55
  • 81
2
votes
2 answers

Initializing Hibernate with GWT problem

I'm trying to use Hibernate with GWT (using Gilead) but I got the following error [WARN] /hibernate/greet java.lang.NoClassDefFoundError: Could not initialize class net.jaffa.hibernate.server.NewHibernateUtil at…
Feras Odeh
  • 9,136
  • 20
  • 77
  • 121
2
votes
2 answers

LazyInitializationException when adding to a list that is held within a entity class using hibernate and gilead for gwt

Right so i am working with hibernate gilead and gwt to persist my data on users and files of a website. my users have a list of file locations. i am using annotations to map my classes to the database. I am getting a…
molleman
  • 2,934
  • 16
  • 61
  • 92
1
vote
1 answer

serialization exception at hibernate join statement

I'm using GWT, Hibernate and Gilead and I do not get rid of the serialization exception: com.google.gwt.user.client.rpc.SerializationException: Type '[Ljava.lang.Object;' was not included in the set of types which can be serialized by this…
pichsenmeister
  • 2,132
  • 4
  • 18
  • 34
1
vote
1 answer

Eclipse + Hibernate + windows xp to win 7

I have an eclipse installed at windows xp and everything works fine. My project is GWT with gilead hibernate and the database is oracle. When i decided to work from home, i just copied the entire eclipse to my flash memory with my workspace to my…
majd obeid
  • 111
  • 2
  • 6
1
vote
0 answers

how to generate Database schema from GWT gilead?

I'm using gilead with gwt, and i want to move from my Oracle Db to mySql Db so i tried to use hibernate.hbm2ddl.auto property and nothing happened. Note that I'm using annotated pojo's not hbm.xml.
majd obeid
  • 111
  • 2
  • 6
1
vote
2 answers

Setting Hibernate to get the next key by looking at the database

I am developing a web based application to replace a desktop based one. I need to have them both work on the same database. For the web-based application I am using GWT and Hiberate(with Gilead), running on Tomcat 7.0. The SQL server is MSSQL…
Angel
  • 57
  • 1
  • 1
  • 8
1
2 3