SQLContainer add- on with Instant text field component

I welcome!

Here an example instant text field -



final IndexedContainer nameContainer = ExampleUtil.getNameContainer();

TextField filterField = new TextField("Filter");        
filterField.setTextChangeEventMode(TextChangeEventMode.LAZY);        
filterField.setTextChangeTimeout(200);        
filterField.addListener(new TextChangeListener() {            
   public void textChange(TextChangeEvent event) {                
      nameContainer.removeAllContainerFilters();                
      nameContainer.addContainerFilter(ExampleUtil.PERSON_PROPERTY_NAME, 
          event.getText(), true, false);            
   }        
});        
		  
Table table = new Table(null, nameContainer);        
table.setColumnHeaderMode(Table.COLUMN_HEADER_MODE_HIDDEN);        
table.setContainerDataSource(nameContainer);

As as the container to set SQLContainer? For example -


SQLContainer myContainer = null;

try  {
      myContainer = new SQLContainer(
         new FreeformQuery("..some sql...",  
         Arrays.asList("...some field..."), 
         pool)
      );	
} catch (SQLException e)  {
   // TODO Auto-generated catch block
   e.printStackTrace();
}

returns -
Cause: java.lang.NoClassDefFoundError: com/vaadin/data/Container$Filter

Hmm… Has found Vaadin SQLContainer 1.1.0 User Manual, it is necessary to read to begin with.:vader:

Has read.
All the same it is not clear, at what here a package com/vaadin/data/?

Probably, the conflict of versions? I use vaadin-6.5.3.jar, however the declared class in it isn’t present:
11766.png

I think you are using incompatible versions of SQLContainer and Vaadin.

Older SQLContainer versions are compatible with Vaadin 6.5 and older while the latest versions of SQLContainer are compatible with Vaadin 6.6 and later.

I welcome you, Henri Sara!

Yes, you are right - hasn’t paid attention to a report.
Thank you very much! Now I will update to 6.6 and I will try again.
11767.png

Throughout has opened other topic -
http://vaadin.com/forum/-/message_boards/view_message/558028