Results 1 to 4 of 4
  1. #1
    sandeep425 is offline Member
    Join Date
    Jul 2012
    Posts
    3
    Rep Power
    0

    Default Help to access metadata of a table from Database like SQL

    Hello Friends

    what are the methods/concepts does the hibernate use to access a metadata of a table fron SQL, ORacle Databases?. I know this is an open-source code. But can anyone provide me a link or doc which has all these details so that my understanding will be more clear?

    Any hints or suggestions is also welcome

    Thank You friends
    -Sam

  2. #2
    sandeep425 is offline Member
    Join Date
    Jul 2012
    Posts
    3
    Rep Power
    0

    Default Re: Help to access metadata of a table from Database like SQL

    By browsing google, I came to know that the connectionprovider class can be customized to set the catalog name, schema name. And when creating such a connectionprovider object, set the catalogname and schemaname. Then at any time when you use the connection string from this object, then the catalog and schema will be automotically appended using some Properties or mappings which we have to declare.

    Can anyone provide me a link or document which explains all this clearly with an example if possible

    Thanks in advance
    Sam

  3. #3
    sandeep425 is offline Member
    Join Date
    Jul 2012
    Posts
    3
    Rep Power
    0

    Default Re: Help to access metadata of a table from Database like SQL

    or any hibernate tool which does this information can be helpful to me?. Provided with the API it works on will be great help

    Thanks
    Sam

  4. #4
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,925
    Rep Power
    19

    Default Re: Help to access metadata of a table from Database like SQL

    Hibernate has pretty solid documentation, so I'm a bit confused as to what you expect us to be able to provide in addition to that.
    Hibernate sits on top of JDBC, so any meta data it gets will be via either the ResultSetMetaData (for a SELECT) or DatabaseMetaData (for a connection) classes.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

Similar Threads

  1. DataBase table Design
    By JavaDreams in forum New To Java
    Replies: 1
    Last Post: 02-19-2011, 02:27 AM
  2. Connecting to a database table
    By kiz106 in forum JDBC
    Replies: 1
    Last Post: 05-19-2010, 10:33 AM
  3. Replies: 2
    Last Post: 02-11-2009, 04:43 AM
  4. Replies: 1
    Last Post: 02-01-2008, 01:21 PM
  5. Replies: 1
    Last Post: 08-07-2007, 07:51 AM

Posting Permissions

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