on 05-09-2007 10:18 AM
my java beans class
public class EmailOutDetailsCommandBean {
String attachmentId = "";
String attachmentName = "";
String emailId = "";
byte[] attachment=null;
String status="";
}
while creating i get this information but the attachment is not created
[Info]: Adding modelclass: "EmailOutDetailsCommandBean", package: package net.emisolutions.model.commandbean
[Info]: Properties for the modelclass: "EmailOutDetailsCommandBean"
[Info]: Adding property "attachmentId", type: string
[Info]: Adding property "attachmentName", type: string
[Info]: Adding property "emailId", type: string
[Info]: Adding property "status", type: string
pls advice
i need a property "attachment" , type: binary
Yzme,
This is a known limitation of NW JavaBean Model importer -- it doesn't process binary types properly.
However, there is a simple workaround:
-- Just let your model import run "as is"
-- Then in WD project drill down to imported model, then to corresponding model class and double-click to edit model class
-- In model class editor on attributes tab add new attribute with name "attachment" and type "binary"
Done.
Valery Silaev
SaM Solutions
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.