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.
Olé, welcome to Stack Overflow, visit our tour to learn more about the community: http://answall.com/tour
– Leonardo
Post here the code you already have, it is easier to understand your problem and help.
– Juliano Alves
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.
– NoOne
So you want to use Hibernate but not at the same time?
– Pablo Almeida