problem while i use hibernet oracle 10g,
January 4, 2008 at 9:05 AM
the tutorial u have given it is on mysql database. i faced the problem while i use oracle 10g. i have added the jdbc14.jar, log4j.jar file to my experiment. the example i am trying i.e, from http://www.laliluna.de/struts-hibernate-integration-tutorial-en.html
problems: 1. generator element eclipse automatically built as "assigned". but in oracle i have created two sequence, two trigger to generate sequence value when i insert new record to two tables CUSTOMER(master) and BOOK(child) for primary keys. though there is no auto generator in primary key values for oracle. so i can't give generator element as "sequence"
2.there is no problem in connection between hibernate and oracle 10g. data retrieval is possible.but problem comes when i try to insert any values and update.
send me suggestion or if u say i will send my experiment project to you