Page 1 of 1

Query for new custom entity

Posted: Fri Jan 22, 2016 4:33 pm
by daylight
I am not new to using spring and jpa but new to Broadleaf.

I created a new entity and impl. I also created a DAO file and impl.
I am trying to query the data from this new table in a workflow during the checkout.

I have other checkout workflow items that work fine.

I am having difficulty understanding how to connect the dao and em to the context. I think.

Does anyone have an idea? I can post code if necessary.

Do I need a servicecontroller? The tutorials describe making the new entity but not how to read it or write to it.

Thank you.