Sorry, I get a new trouble!!!  [Embarassed] 


I have modelled a new Controller (adminController) and I have draw a dependency 
from this controller to my service (RoomService)!

There is only one method in it: insertRoom(type: String, image: String, 
available: boolean) (Room is my entity)



In the Service there is a method: newRoom(type: String, image: String, 
available: boolean)



So:

This is the code in insertRoom() of AdminControllerImpl:

 this.getRoomService().newRoom(form.getType(), 
form.getPicture(), form.isAvailable());



This is the code in newRoom() of RoomServiceImpl:

this.getRoomDao().create(type, picture, avalaible);



In my adminActivity, the administrator have to be able to fill a form and 
create a new room! The adminActivity call insertRoom() in a state after a 
FrontAndView state



Maven return BUILD SUCCESSFUL and Jboss run the project... but after fill the 
form I get a java.lang.Exeption in the jsp page:



Column not found: PICTURE in statement [insert into ROOM (TYPE, PICTURE, 
AVALAIBLE, ID) values (?, ?, ?, null)] (java.lang.Exception)
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=1238#1238
Posting to http://forum.andromda.org/ is preferred over posting to the mailing 
list!


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to