Subversion Repository Public Repository

litesoft

Diff Revisions 49 vs 853 for /trunk/Java/core/Server/tests/org/litesoft/or/DBAttributeSamplesPO.java

Diff revisions: vs.
  @@ -585,19 +585,19 @@
585 585 @Override
586 586 public void setValueOnPO( DBAttributeSamples pPO, Object pValue )
587 587 {
588 - pPO.setDateOrdered( to_SimpleDate( null, pValue ) );
588 + pPO.setDateOrdered( to_SimpleDate( pPO.mDateOrdered.getDateRes(), pValue ) );
589 589 }
590 590
591 591 @Override
592 592 public Object db_getValueOnPO( DBAttributeSamples pPO )
593 593 {
594 - return pPO.mDateOrdered.get_java_sql_Date();
594 + return pPO.mDateOrdered.getPersistFormSimpleDate();
595 595 }
596 596
597 597 @Override
598 598 public void db_setValueOnPO( DBAttributeSamples pPO, Object pValue )
599 599 {
600 - pPO.mDateOrdered.set_java_sql_Date( to_SqlDate( pValue ) );
600 + pPO.mDateOrdered.setPersistFormSimpleDate( to_String( pValue ) );
601 601 }
602 602 }
603 603