Skip to main content



      Home
Home » Eclipse Projects » Eclipse Scout » SQL vs. bean data column in table
SQL vs. bean data column in table [message #1835260] Sat, 28 November 2020 04:59
Eclipse UserFriend
Hi,
In my Table field I use abstract column with bean like this:
public class AvatarColumn extends AbstractColumn<AvatarFieldData> {
  @Override
  protected String getConfiguredHeaderText() {
       return TEXTS.get("Avatar");
   }
			
  @Override
  protected boolean getConfiguredHtmlEnabled() {
      return true;
  }

  @Override
  protected String formatValueInternal(ITableRow row, AbstractAvatarFieldData value) {
	    // Here I am building HTML content for cells in this column based on AvatarFieldData values.
   }
}


When I want to directly fill fields in this bean in the SELECT-INTO expression in SQL (in server module), the Scout framework does not find fields in this bean.

SELECT
  some fields
FROM table_name
INTO 
   :avatar.one_filed,
   :avatar.second_filed
WHERE some_conditions;


Does the Scout framework not support the possibility of copying the SQL result directly into such bean column?

[Updated on: Sat, 28 November 2020 16:22] by Moderator

Previous Topic:Table built-in checkable column vs. export form data
Next Topic:getAdditionalRowData returns null
Goto Forum:
  


Current Time: Sat Jul 05 04:03:50 EDT 2025

Powered by FUDForum. Page generated in 0.02597 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top