[hibernate-issues] [Hibernate-JIRA] Created: (HBX-975) i have deleted tables fro the database and i m trying to recreate these tables using Hibernate 2.

sridhar negi (JIRA) noreply at atlassian.com
Mon Aug 20 04:53:13 EDT 2007


i have deleted tables fro the database and i m trying to recreate these tables using Hibernate 2.  
---------------------------------------------------------------------------------------------------

                 Key: HBX-975
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-975
             Project: Hibernate Tools
          Issue Type: Bug
         Environment: Hibernate 2 & oracle 9i
            Reporter: sridhar negi


i have deleted tables from the database and i m trying to recreate these tables using Hibernate 2.  but i m unable to do the same .It tries to alter a table which is not present in the database. it seems that hibernate is referring some other database schema. I m getting an error some thing like this..

 [java] alter table POOL_DETAILS add POOL_WEIGHT DOUBLE PRECISION  
 [java] 52085 DEBUG [main] hbm2ddl.SchemaUpdate - execute alter table  POOL_DETAILS add POOL_WEIGHT DOUBLE PRECISION  
 [java] 52147 ERROR [main] hbm2ddl.SchemaUpdate - execute Unsuccessful: alter table POOL_DETAILS add POOL_WEIGHT DOUBLE PRECISION
 [java] 52147 ERROR [main] hbm2ddl.SchemaUpdate - execute ORA-00942: table or view does not exist.

How to handle this situation. Do i have to go for Hibernate 3, or is there any other solution to the problem? If at alll i have to use hibernate 3 what are the changes do i have to make in the project make it work for me. 


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list