Something like this should work:

        ModelEntity modelEntity = delegator.getModelEntity("Invoice");
        List<String> fieldNames = modelEntity.getAllFieldNames();


On Wed, Jan 20, 2016 at 10:37 AM, Gabriel Oberreuter <[email protected]>
wrote:

> Jeremy Olmstead wrote
> > If you pass null as your set of fields, it will select all fields.
> >
> > Jeremy
>
> Oh, thanks. That works great to select all fields when executing the query.
>
> I still need to get all fields of an entity at other parts of our code, do
> you know how to achieve this?
>
>
>
>
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/get-all-fields-of-an-Entity-tp4676259p4676262.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>

Reply via email to