You need to
1) create PollDaoImpl (class responsible for storing polls and pollresults
in the DB, please see AppointmentDaoImpl as an example)
2) remove pollList from src\app\org\openmeetings\app\remote\PollService.java
3) modify PollService.java to call PollDaoImpl to store retrieve polls/poll
results.

I think I can do this work for 1.9 (current trunk) and you can use my code
as example.

On Fri, Sep 23, 2011 at 21:22, mamontalvan <[email protected]> wrote:

> HI Maxim..
>
> The version is: openmeetings_1_6_1_r3650...
>
> Attached files.....to help me to reviwe....Now ¿how do I store these
> entities in the database?
>
> Should I create another file? To write the code of: save, update and
> delete....
>
> Thanks!!!!
>
> 2011/9/22 Maxim Solodovnik <[email protected]>
>
>> Hello,
>>
>> which version of OM are you modifying?
>> Since 1.8 RoomPoll.hbm.xml and RoomPollAnswers.hbm.xml are redundant. All
>> entity definitions should be done via Annotations.
>>
>> On Fri, Sep 23, 2011 at 04:12, May <[email protected]> wrote:
>>
>>> Hi....
>>>
>>> I'm working on the surveys that are made inside a conference room ...
>>> Objective: to store the polls in the database...
>>>
>>> I created a folder called: polls. Inside this folder, I created four
>>> files called:
>>> - RoomPoll.java and RoomPoll.hbm.xml
>>> - RoomPollAnswers.java and RoomPollAnswers.hbm.xml
>>>
>>> But now I do not know...How to write the code to store entities
>>> "RoomPoll" and "RoomPollAnswers" in the BD....
>>> ¿In which file do this?
>>>
>>> Help me please..:)
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "OpenMeetings developers" group.
>>> To post to this group, send email to [email protected].
>>> To unsubscribe from this group, send email to
>>> [email protected].
>>> For more options, visit this group at
>>> http://groups.google.com/group/openmeetings-dev?hl=en.
>>>
>>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "OpenMeetings developers" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/openmeetings-dev?hl=en.
>>
>
>
>
> --
> Ing. Mayra Alejandra Montalván I.
> *Universidad Técnica Particular de Loja*
> *Celular*: 081196083
>
>  --
> You received this message because you are subscribed to the Google Groups
> "OpenMeetings developers" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/openmeetings-dev?hl=en.
>



-- 
WBR
Maxim aka solomax

-- 
You received this message because you are subscribed to the Google Groups 
"OpenMeetings developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/openmeetings-dev?hl=en.

Reply via email to