By convention, which file should I add to? create-database.sql?

KC

On Sep 28, 2014, at 9:07 PM, Abhinandan Prateek <agneya2...@gmail.com> wrote:

> You still need to write Sql for creating new db table in MySQL db.
> 
> -abhi
> 
>> On 29-Sep-2014, at 6:41 am, Kuang-Ching Wang <kuangching.w...@gmail.com> 
>> wrote:
>> 
>> Hi,
>> 
>> I need to create a new table to store data in the cloudstack DB.  I followed 
>> existing examples to:
>> - add a new VO class, with @Entity and @Table(name = “new_table_name")
>> - add a new Dao interface
>> - add a new DaoImpl class for the interface
>> - update spring context (of my network plugin) with a new bean id for the 
>> new DaoImpl class
>> 
>> I was expecting with the change and a reinstall of my cloudstack-management 
>> service (even doing cloudstack-setup-databases again), a new table would be 
>> created.  However, this is not happening.
>> 
>> Is there some step I missed?
>> 
>> Thanks,
>> KC

--
Dr. Wang, Kuang-Ching, Associate Professor
308 Fluor Daniel Building
ECE Department, Clemson University
Clemson, SC 29634
864-656-0846 (Office)
864-656-7220 (Fax)
kw...@clemson.edu

Reply via email to