Results 1 to 4 of 4
- 07-03-2012, 07:43 PM #1
Member
- Join Date
- Jul 2012
- Posts
- 3
- Rep Power
- 0
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
- 07-03-2012, 07:55 PM #2
Member
- Join Date
- Jul 2012
- Posts
- 3
- Rep Power
- 0
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
- 07-03-2012, 11:57 PM #3
Member
- Join Date
- Jul 2012
- Posts
- 3
- Rep Power
- 0
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
- 07-04-2012, 09:27 AM #4
Moderator
- Join Date
- Apr 2009
- Posts
- 10,481
- Rep Power
- 16
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.
Similar Threads
-
DataBase table Design
By JavaDreams in forum New To JavaReplies: 1Last Post: 02-19-2011, 02:27 AM -
Connecting to a database table
By kiz106 in forum JDBCReplies: 1Last Post: 05-19-2010, 10:33 AM -
How to convert access database to mysql database?
By vrk in forum Advanced JavaReplies: 2Last Post: 02-11-2009, 04:43 AM -
Plz help ... retreiving data from an access database table....
By austinsmiles in forum New To JavaReplies: 1Last Post: 02-01-2008, 01:21 PM -
Help with access a database using Microsoft Access
By cachi in forum JDBCReplies: 1Last Post: 08-07-2007, 07:51 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks