Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

property no persistent

Status
Not open for further replies.

nora1966

Programmer
Oct 12, 2006
10
FR
HI;

I would like to know you opinion concerning the following question:

I have a java bean (Account) which provide all DAO to access database but this object has a property (array []) which who should not be stored in the database.
Each account has this array containing of data which are calculated and a external component get these data to a treatment.
Is necessary it to separate a part of the persistence data (Account) with the array or not ? how I must to manage these two type of data ?


Regards;
 
How are you implementing the persistence? If you're serializing the object, declaring the array as volatile should work.

Cheers,
Dian
 
You're absolutely rigth. I shouldn't answer post when I have too much work :)

Cheers,
Dian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top