Fix [ 2034138 ] HR_Employee.ImageURL wrongly defined

This commit is contained in:
Carlos Ruiz 2008-07-31 17:38:21 +00:00
parent a1d0ce1d58
commit ac2e1f1f01
4 changed files with 25 additions and 5 deletions

View File

@ -158,12 +158,12 @@ public interface I_HR_Employee
/** Set Image URL. /** Set Image URL.
* URL of image * URL of image
*/ */
public void setImageURL (byte[] ImageURL); public void setImageURL (String ImageURL);
/** Get Image URL. /** Get Image URL.
* URL of image * URL of image
*/ */
public byte[] getImageURL(); public String getImageURL();
/** Column name Name */ /** Column name Name */
public static final String COLUMNNAME_Name = "Name"; public static final String COLUMNNAME_Name = "Name";

View File

@ -318,7 +318,7 @@ public class X_HR_Employee extends PO implements I_HR_Employee, I_Persistent
@param ImageURL @param ImageURL
URL of image URL of image
*/ */
public void setImageURL (byte[] ImageURL) public void setImageURL (String ImageURL)
{ {
set_Value (COLUMNNAME_ImageURL, ImageURL); set_Value (COLUMNNAME_ImageURL, ImageURL);
} }
@ -326,9 +326,9 @@ public class X_HR_Employee extends PO implements I_HR_Employee, I_Persistent
/** Get Image URL. /** Get Image URL.
@return URL of image @return URL of image
*/ */
public byte[] getImageURL () public String getImageURL ()
{ {
return (byte[])get_Value(COLUMNNAME_ImageURL); return (String)get_Value(COLUMNNAME_ImageURL);
} }
/** Set Name. /** Set Name.

View File

@ -0,0 +1,10 @@
-- Jul 31, 2008 12:23:46 PM COT
-- [ 2034138 ] HR_Employee.ImageURL wrongly defined
UPDATE AD_Column SET AD_Reference_ID=40, FieldLength=120,Updated=TO_DATE('2008-07-31 12:23:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=54750
;
ALTER TABLE HR_Employee DROP COLUMN ImageURL
;
ALTER TABLE HR_Employee ADD (ImageURL NVARCHAR2(120) DEFAULT NULL)
;

View File

@ -0,0 +1,10 @@
-- Jul 31, 2008 12:23:46 PM COT
-- [ 2034138 ] HR_Employee.ImageURL wrongly defined
UPDATE AD_Column SET AD_Reference_ID=40, FieldLength=120,Updated=TO_TIMESTAMP('2008-07-31 12:23:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=54750
;
ALTER TABLE HR_Employee DROP COLUMN ImageURL
;
ALTER TABLE HR_Employee ADD ImageURL VARCHAR(120) DEFAULT NULL
;