[Building Sakai] Code to add columns and Data in a new table using the Directory Structure code developed by Sakai App Builder
Steve Swinsburg
steve.swinsburg at gmail.com
Mon Feb 28 14:08:29 PST 2011
Hi,
There are plenty of resources here:
https://confluence.sakaiproject.org/display/BOOT/Persistence
If using Hibernate it involves adjusting the Hibernate mapping file (generally suffixed by .hbm.xml) which is read at startup and creates the columns. These map onto a Java class so you also need to adjust the class that it maps to and add a property of the type you require (String, Date, long etc) so that Hibernate has somewhere to store the data it retrieves.
cheers,
Steve
On 28/02/2011, at 11:14 PM, Gautham wrote:
>
>
> Hi Steve,
>
> Please provide the steps to make changes to the Code to add columns and Data
> in a new table using the Directory Structure code developed by Sakai App
> Builder.
>
> Regards,
> Gautham
> --
> View this message in context: http://old.nabble.com/Code-to-add-columns-and-Data-in-a-new-table-using-the-Directory-Structure-code-developed-by-Sakai-App-Builder-tp31030429p31030429.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"
More information about the sakai-dev
mailing list