Meaningless Drivel is fun!*
The moose likes Object Relational Mapping and the fly likes reading DB at runtime (hibernate) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "reading DB at runtime (hibernate)" Watch "reading DB at runtime (hibernate)" New topic
Author

reading DB at runtime (hibernate)

Marco Vanoli
Ranch Hand

Joined: Jan 12, 2005
Posts: 99
I have a table not mapped that comes from a third part.
I need that my code analyze this table and extract some values then fill with them a mapped table as usual.
It' s possible to do this work with hibernate? If yes how?

tnk!


bye, <br />Marco
Jignesh Patel
Ranch Hand

Joined: Nov 03, 2001
Posts: 626

Nope, not with hibernate. But you can create Simple DAO object and extract those data.

-Jignesh
Marco Vanoli
Ranch Hand

Joined: Jan 12, 2005
Posts: 99
using jdbc?
Jignesh Patel
Ranch Hand

Joined: Nov 03, 2001
Posts: 626

yup.
 
wood burning stoves
 
subject: reading DB at runtime (hibernate)
 
Similar Threads
hibernate and DB triggers
Hibernate 2: check if table exists and get the name of the table out of the class
Help with HQL
Regarding fetching query
alter table command