Hi all,

i've migrated from TDK2.1 to 2.2 and i'm facing the following problem.
I want to pass some parameters to the ScheduledJob.
In the previous version the JobEntryPeer class had a property  PROPERTY 
who was an Hash Table.
So my code was:

        _properties = new Hashtable();

        _properties.put("Status", _status);
        _properties.put("Age", new Integer(_age));
        _properties.put("MinSeverity", new Integer(_minseverity));
        _properties.put("MaxSeverity", new Integer(_maxseverity));
        _properties.put("Dest", new Integer(_dest));

and then

        _criterion7 = _criteria.getNewCriterion(JobEntryPeer.PROPERTY,
                                                 _properties,
                                                  Criteria.EQUAL);

Now the JobEntryPeer class had a property  JOB_PROPERTY but the type has 
become byte[];

How do i store my parameters in the byte array?

Hope somebody can help me!!

Greetings.

FD

-- 

-- 
Fabio Daprile

W�rth-Phoenix Srl
Via Kravogl 4, I-39100 Bolzano
Tel: +39 0471/564111 - (direct 564070)
Fax: +39 0471/564122

mailto:[EMAIL PROTECTED]
http://www.wuerth-phoenix.com
http://www.wuerth.com




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to