Hello, Thanks for your help Sebastian. Finally I discovered the misstake and it was a spelling misstake, I put a capital i instead of a l. I feel really silly but at least it works fine now.
Thanks again On 2 feb, 13:15, Sebastian Wagner <[email protected]> wrote: > hi, > > when you have created the .hbm.xml file, the java class and the entry in the > hibernate.cfg.xml there is no need to create the table manually in the > database, hibernate will do that for you. In fact you should delete the > table again and start the server so that hibernate does create the table > like it expects it. > > For further dubgging you should watch your red5 log when the server starts > up. There is must be some kind of issue during the startup. > > Sebastian > > 2010/2/2 Iñaki Martínez Sarriegui <[email protected]> > > > > > Hello all, > > > First of all I want to say thank you for this wonderful opensource > > tool, it´s amazing all the things you can do with it!!! > > Congratulations!!! > > > I've landed with the code few weeks ago and I'm not very confident > > with it. In spite of this lack of experience, I tried to create a new > > table in the database. I need this table to create a new functionality > > for the system. The idea is to create a waitingroom were the users > > have a specific turn to go into the room and is the 'doctor' inside > > the room who let them entering the room. I don´t know if I've > > explained it properly. I know that maybe i can do it with the > > information in the tables that are already in the database but I > > prefer creating a new one with all the information I need instead of > > collecting it from several tables, and I believe that maybe some of > > the info I need it´s not in the database. > > > I've created the table in the database and I've created the > > WaitingRoom.hbm.xml and WaitingRoom.java files. I've also inserted a > > mapping reference to WaitingRoom.hbm.xml in the hibernate.cfg.xml > > file. Everything seems to be ok, cause I've tested separately (I > > created an eclipse project with only this table in a database and > > these three files to test that I was doing things correctly and it > > worked) but when I execute the code the program fails in the > > initialization in this point, according to de debug console: > > > autoLoader/setProgress ===== 8 > > autoLoader/setResourceNumber == 56 > > > And looking in the server console in eclipse, configuring the > > hibernate.cfg.xml. > > > I went through all the code and I can´t find the problem. Then I > > thought that maybe the problem is that the code or the system has been > > made in a way that we can´t add our own database tables. Or maybe the > > problem is that I'm missing some step or I'm doing anything wrong, > > that it's the most probable cause due to my inexperience. > > > I would like if someone can help me, telling me if I'm doing something > > wrong or if I'm being too clever and we can´t create new tables. > > > Thanks in advance to all and again congratulations and thank you for > > the application. > > > Yours thankfull > > > Iñaki > > > -- > > 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]<openmeetings-dev%[email protected]> > > . > > For more options, visit this group at > >http://groups.google.com/group/openmeetings-dev?hl=en. > > -- > Sebastian > Wagnerhttp://www.webbase-design.dehttp://openmeetings.googlecode.comhttp://www.laszlo-forum.de > [email protected] -- 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.
