-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: flex hibernate MySQL, LiveCycle Data Service
PostPosted: Fri Feb 15, 2008 6:24 am 
Newbie

Joined: Sun Feb 10, 2008 2:26 pm
Posts: 6
Hi
I am working with Hibernate, Java, LiveCycle Data Service, Flex 2.01 and MySQL

I have 3 tables in my DataBase

personnes (pers_Id, nom, prenom, sexe, age)
Adresse(Adr_Id, designation, codepostal,ville)
PersonAdress(Pers_Id, Adr_Id)

I have already mapped successfully tables "Personnes" ans "Adresse"

As we can see PersonAdress table is looking like a join table.

And I don't know how to use Hibernate to do that.
And I also need help to map correctly <destination> tag in data-management-config.xml file so the whole project can work.

Here is the error message after running "Integrated LiveCycle Data Service Server"

11/02/ 08:42:01 user MessageBrokerServlet: **** MessageBrokerServlet failed to initialize due to runtime exception: org.hibernate.MappingException: could not read mappings from ressource: projet/Person_address.hbm.xml

When I put that file "Person_address.hbm.xml" in another directory like parent's one I have this error message


13/02/ 09:39:07 user MessageBrokerServlet: **** MessageBrokerServlet failed to initialize due to runtime exception: org.hibernate.MappingException: Ressource: Projet/Person_address.hbm.xml not found

please could someone help me?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.