Hi All
I'm having a problem related to how the objects are related to the database
tables so that the object can be saved
This was very easy using minlang where you can specify what entity are you
using and do the CRUDs easily
but what about the java objects how they are mapped to the database tables

I cam Across this problem while tring to do the following
I want to add two field in the OrderItem table those fields are called
fromDate and toDate
I've added them to the database table through the entitymodel.xml very
easily
Actually those two fields come from the quote like startReservation date for
example
so I went to the service loadCartFromQuote
and added them into the cartItem Object
I don't know how to map this to the orderItem table
I mean now the cartItem contains 2 dates and the OrderItem has 2 dates how
the mapping is done?
where the method that will save the cart item to order item and put it in
the database?
I've searched for a while and I found that ofbiz doesn't use ORM then how it
works?

I'd be grateful for a reply

-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Cart-Item-Problem-tp3225516p3225516.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply via email to