Announcement

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

    Hibernate Datasource

    Hopefully this is a quick question and I'm just missing something simple, since I'm new to smartGWT!

    We are using the LGPL Version of smartGWT and have an existing Hibernate configuration. We've got a working hibernate.cfg.xml and file mappings using the *.hbm.xml paradigm. I'd like to be able to use the smartGWT grids leveraging the smartGWT datasources so that scrolling and filtering are enabled.

    But I can't find any documentation on how to create smartGWT datasources that leverage the existing Hibernate configuration. The documentation all seems to say it can be done, but I can't find an example. It seems that if I can figure this out, I can just attach the datasource to the grids.

    As I said, I am likely missing something basic and simple, so any assistance will be appreciated.

    Thanks!

    #2
    Read the QuickStart Guide - with LGPL, you'd have to use Rest. With Pro or better there's a built-in connector, and several samples in the Pro/EE Showcase.

    Comment


      #3
      One additional question -- it does look like the Pro version will handle this a lot more elegantly. But if we end up developing a commercial application and use the Pro version to develop, what are the licensing implications for us distributing the modules?

      Comment


        #4
        All explained here. Don't miss the licensing FAQ for further questions (linked mid-page).

        Comment

        Working...
        X