Limesurvey + Hibernate

Asked

Viewed 48 times

1

I’m trying to develop an app that manages some surveys from the limeSurvey and for that purpose I am using Hibernate. So the whole problem is that the limeSurvey Give me the answers to each survey that way:

lime_survey_id(Table)

Where each id is related to a survey specific.

All I’d like to do is get the list of all the answers surveys using hibernate. The problem is: How do I do this? I have the list of all ids in another table.

Ps¹: I am using Spring also. Ps²: I am using EntityManager to handle the tables. Ps³: I’m really a Newbie/inexperienced. Ps4: I actually thought of another way to solve my problem(Transform all the tables that the limeSurvey gives me in a single table. However, I think this would be much more difficult.

  • 2

    Olé, welcome to Stack Overflow, visit our tour to learn more about the community: http://answall.com/tour

  • Post here the code you already have, it is easier to understand your problem and help.

  • But there is no code for this problem (since I don’t know how to solve this problem). -.. However, I will try to explain a little better. The limesurvey provides a . sql where you find various information from your Urveys (such as answers from Urveys, names, etc.) and each data is represented in a table. The answers from Survey are like: lime_survey_id(Table). However, in Hibernate each table represents an entity (in this case, a class in java), however, I want to get all the answers(lime_survey_42342; lime_survey_432423...) without having to do x entities.

  • So you want to use Hibernate but not at the same time?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.