posted 17 years ago
Following a simple example, I initialized the Hibernate objects as shown on the Hibernate Website.
However, when I try to "Search" using the "sess" object below, the only "F" method is "Flush()".
Any ideas why I'm not seeing a "Find" in the list of possible methods given the setup below?
Thanks in advance.
Mike
// Initialize the Hibernate environment
Configuration cfg = new Configuration().configure();
// Create the session factory
SessionFactory fact = cfg.buildSessionFactory();
// Obtain the new session object
Session sess = factory.openSession();
Then,....
List users = sess.F(lush) is only method that shows up (no Find)
[ February 05, 2007: Message edited by: Bear Bibeault ]