Results 1 to 3 of 3

Thread: Database DDL script for JdbcConnectionRepository?

  1. #1
    Join Date
    Jul 2007
    Posts
    27

    Default Database DDL script for JdbcConnectionRepository?

    Hi,

    Is there a DDL script running around to create a database schema for the JdbcConnectionRepository? From what I can see, it's just a single Connection table with VARCHAR fields "accountId", "providerId", "accessToken", "secret", "refreshToken", "providerAccountId", but I don't know if there's a script somewhere that I'm not seeing.

    Cheers,
    Emerson

  2. #2
    Join Date
    Aug 2004
    Posts
    1,075

    Default

    No, there's no script doing that for you. There is a DDL at org/springframework/social/connect/jdbc/ConnectionRepositorySchema.sql in the core module's JAR, though.

    The Spring Social Showcase sample runs that script automatically as part of the embedded-database setup (see data.xml). But Spring Social itself does no automatic creation of tables.
    Craig Walls
    Spring Social Project Lead

  3. #3
    Join Date
    Jul 2007
    Posts
    27

    Default

    Ah, there it is. Thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •