Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate Metadata Search

 
Daniel Jabonete
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Greetings!

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
author
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
awesome!

Thanks very much!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic