Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid ExtJS types are generated for the fields in Java DTO of types List<?> and byte[] #11

Open
bssjdm opened this issue Dec 31, 2013 · 1 comment

Comments

@bssjdm
Copy link

bssjdm commented Dec 31, 2013

I am using Clear DB for ExtJS, with MyBatis
Version 1.0.0.201301242238

Field of type List<?> in the Java DTO is translated to mx.collections.ArrayCollection (which is Flex class) in the generated ExtJS Model. Also, field of type byte[] in the Java DTO is translated to flash.utils.ByteArray

Examples:

Java DTO Class:

@jsclass
public class TransactionsDTO {
.....
private List supportingDocuments;
}

Generated ExtJS _TransactionsModel:

......
{
name: 'supportingDocuments',
type: mx.collections.ArrayCollection,
useNull: true
},
.......

@gAmUssA
Copy link
Contributor

gAmUssA commented May 9, 2014

@bssjdm What is a expected result type? auto ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants