litesoft
Diff Revisions
852
vs
853
for /trunk/Java/core/Server/tests/org/litesoft/or/DBEncryptedAttributeSamplesPO.java
|
@@ -579,19 +579,19 @@ |
579 |
579 |
|
|
580 |
580 |
|
public void setValueOnPO( DBEncryptedAttributeSamples pPO, Object pValue ) |
581 |
581 |
|
{ |
582 |
|
- |
pPO.setDateOrdered( to_SimpleDate( null, pValue ) ); |
|
582 |
+ |
pPO.setDateOrdered( to_SimpleDate( pPO.mDateOrdered.getDateRes(), pValue ) ); |
583 |
583 |
|
} |
584 |
584 |
|
|
585 |
585 |
|
@Override |
586 |
586 |
|
public Object db_getValueOnPO( DBEncryptedAttributeSamples pPO ) |
587 |
587 |
|
{ |
588 |
|
- |
return pPO.mDateOrdered.get_java_sql_Date(); |
|
588 |
+ |
return pPO.mDateOrdered.getPersistFormSimpleDate(); |
589 |
589 |
|
} |
590 |
590 |
|
|
591 |
591 |
|
@Override |
592 |
592 |
|
public void db_setValueOnPO( DBEncryptedAttributeSamples pPO, Object pValue ) |
593 |
593 |
|
{ |
594 |
|
- |
pPO.mDateOrdered.set_java_sql_Date( to_SqlDate( pValue ) ); |
|
594 |
+ |
pPO.mDateOrdered.setPersistFormSimpleDate( to_String( pValue ) ); |
595 |
595 |
|
} |
596 |
596 |
|
} |
597 |
597 |
|
|