Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Cwd_user table with OfBiz

MB April 27, 2016

Hi,

I have problem to load entries from a cwd_user table with OfBiz. Problem is maybe in underscore in table name, but I don't know how to reference the table. Do I need to escape the underscore?

I can get entries for other entities like this

List<GenericValue> changeGroups = ofBizDelegator.findAll("ChangeGroup");

but when I use entity name with underscore

List<GenericValue> users = ofBizDelegator.findAll("cwd_user");

I'm getting DataAccessException

com.atlassian.jira.exception.DataAccessException: org.ofbiz.core.entity.GenericModelException: Could not find definition for entity name cwd_user

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Answer accepted
Volodymyr Krupach
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 27, 2016

Hi Martin,

cwd_user is mapped as User. If you have JIRA sources you can check ofbiz mappings in: jira-software-7.0.4-source/jira-project/jira-components/jira-core/src/main/ofbiz/entitydefs/entitymodel.xml

MB April 27, 2016

That's it! Thank you very much wink

TAGS
AUG Leaders

Atlassian Community Events