wood burning stoves 2.0*
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
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Hibernate Metadata Search" Watch "Hibernate Metadata Search" New topic
Author

Hibernate Metadata Search

Daniel Jabonete
Ranch Hand

Joined: Apr 01, 2007
Posts: 76
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

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: 76
awesome!

Thanks very much!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Hibernate Metadata Search
 
Similar Threads
feedback on this proposed design
How to provide willdcard search
search database of all tables for one field in table
GUI for mapping db tables
Regex for Reversing Last Name, First Name?