When i am trying to write this..
sessionFact = new Configuration().configure().buildSessionFactory();
It shows a compile time error.
- Cannot instantiate the type Configuration
- The method configure() is undefined for the type
Configuration
And if you want to insert a value (studentName, email, etc) in a especific Row or ID of the table of Students?
For example, the typical "where"
Insert into STUDENTS (name,email,addres) WHERE ID = '1234'
can not instantiated configurationwhoisdis June 23, 2011 at 10:43 AM
When i am trying to write this.. sessionFact = new Configuration().configure().buildSessionFactory(); It shows a compile time error. - Cannot instantiate the type Configuration - The method configure() is undefined for the type Configuration
Wheres nativeszyder February 6, 2012 at 7:12 PM
Where do you see any handwritten native sql in this example? Thumbs down.
questionLuis April 5, 2012 at 8:14 PM
And if you want to insert a value (studentName, email, etc) in a especific Row or ID of the table of Students? For example, the typical "where" Insert into STUDENTS (name,email,addres) WHERE ID = '1234'
Question CorrectionLuis April 5, 2012 at 8:23 PM
Sorry i did a terrible estupid thing. I refer to update... not insert. Thanks
Post your Comment