This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes Hibernate Metadata Search Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Hibernate Metadata Search" Watch "Hibernate Metadata Search" New topic

Hibernate Metadata Search

Daniel Jabonete
Ranch Hand

Joined: Apr 01, 2007
Posts: 84

I would like to kindly ask if we could search the database for a text/string regardless of tables.

Something like searching for a string, then it would return the tables where it found a matched, for a database.

Traversing to all tables, table columns and rows of the database.

Is there something like that?

Thanks very much!

Daniel Suarez Jabonete
Emmanuel Bernard
Ranch Hand

Joined: Oct 22, 2008
Posts: 62
Yes, this is doable in the sense that Lucene is an unstructured index and that Hibernate Search let's you query on all classes or specific classes depending on what you ask for:

Daniel Jabonete
Ranch Hand

Joined: Apr 01, 2007
Posts: 84

Thanks very much!
I agree. Here's the link:
subject: Hibernate Metadata Search
jQuery in Action, 3rd edition