Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Extending built-in data sources

    I am trying to extend com.isomorphic.sql.SQLDataSource
    but it does not seem to work. Smart GWT server framework instantiates SQLDataSource instead of my data source class even though I have apropriate serverConstructor property in the .ds.xml file. Is there a workaround? One that I can think of is to extend BasicDataSource and delegate calls to an SQLDataSource property but then how do I initialize that property with the appropriate .ds.xml file? Please find attached my data source class and my sample ds.xml.
    Attached Files

    #2
    P.S.: It seems I found the answer. SQLDataSource does not honor proclaimed override points "executeXXX", so one has to override execute().

    Comment

    Working...
    X