From: jayboado <jay...@su...> - 2008-08-21 00:41:40
|
Hi, Been trying to enhance Jtrac myself. Although this is my first time to use Spring. But I get to change some. What's been bugging my head for 36 hours now is that of adding a new table in the Jtrac database. By the way, I am using MySql. i tried to create one, adding E.G. AppOnwer.java in the domain directory. update hibernateJtracDao. Added some lines in Jtrac.java, jtracDao and JtracImpl and jtrac.hbm.xml. But when i run the ant jetty-start, I am getting a null pointer on the id which is a variable in my AppUser. Well, what I am trying to do is redeploy Jtrac without any tables from its database. I can't seem to underatanf why does it need a value instantly. Anyway, what I'm trying to accomplish is I will be using one of the default drop down list. Then reference its id to this new database name AppOwner. Then using those default freetext fields, I will disable edit properties and they will be filled out by the values in the AppOwner database. Like each application has there own Application Owner populated automatically. Has anyone have an insight about this? Any feedback is greatly appreciated. Need it asap. thanks guy jay -- View this message in context: http://www.nabble.com/adding-new-tables-and-creating-relationships-tp19080653p19080653.html Sent from the j-trac-users mailing list archive at Nabble.com. |