[Building Sakai] about insert data in the database

Steve Swinsburg s.swinsburg at lancaster.ac.uk
Wed May 13 01:01:24 PDT 2009


The Hibernate mapping files map the database table to the Java  
classes. If the table doesn't exist or any new columns have been added  
to the mapping since last startup, they will be created.

cheers,
Steve

On 13/05/2009, at 4:21 AM, yolima u wrote:

>
> another little question.
>
> sakai uses the *.hbm.xml files for insert data into database or just  
> for
> create the tables?
>
>
>
> Aaron Zeckoski wrote:
>>
>> This page should help explain persistence in Sakai:
>> http://bugs.sakaiproject.org/confluence/display/BOOT/Persistence
>>
>> You can use JDBC, Hibernate, or really anything you want.
>> -AZ
>>
>>
>> On Tue, May 12, 2009 at 6:33 PM, yolima u <yolimita.uribe at gmail.com>
>> wrote:
>>>
>>> hi all,
>>>
>>> i have a doubt about how i have to insert data into the database.
>>> i have seen that in the code of the tool's web pages, sakai uses  
>>> beans
>>> (and
>>> they use the dao of the application) to set o get the data, but i  
>>> don't
>>> understand how insert into the data base. is with the *.hbm.xml?  
>>> where do
>>> sakai routed this files?  or something else?
>>> --
>>> View this message in context:
>>> http://www.nabble.com/about-insert-data-in-the-database-tp23506704p23506704.html
>>> Sent from the Sakai - Development mailing list archive at  
>>> Nabble.com.
>>>
>>> _______________________________________________
>>> sakai-dev mailing list
>>> sakai-dev at collab.sakaiproject.org
>>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>>
>>> TO UNSUBSCRIBE: send email to
>>> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
>>> "unsubscribe"
>>>
>>
>>
>>
>> -- 
>> Aaron Zeckoski (aaronz at vt.edu)
>> Senior Research Engineer - CARET - Cambridge University
>> [http://bugs.sakaiproject.org/confluence/display/~aaronz/]
>> Sakai Fellow - [http://aaronz-sakai.blogspot.com/]
>> _______________________________________________
>> sakai-dev mailing list
>> sakai-dev at collab.sakaiproject.org
>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>
>> TO UNSUBSCRIBE: send email to
>> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
>> "unsubscribe"
>>
>
> -- 
> View this message in context: http://www.nabble.com/about-insert-data-in-the-database-tp23506704p23514746.html
> Sent from the Sakai - Development mailing list archive at Nabble.com.
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org 
>  with a subject of "unsubscribe"

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2437 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20090513/5b00ae1f/attachment.bin 


More information about the sakai-dev mailing list