[ajug-members] Hibernate Insert/Update failing

Balu ttrbalu at yahoo.com
Fri Mar 11 13:50:47 EST 2005


Hi Barry,
Thanks for your reply.

I am using the same *.hbm.xml files on both
environments.The two environments are going to two
different database(s),but both are having same schema.
However both environments have oracle,but different
versions.
My development database is Oracle 9.2.0.4 where
hibernate works fine.
and my test environment database is Oracle 8.1.7.4

As soon as Hibernate issues insert/update statement it
throws a SQL error in my test environment....Do I need
to check init.ora settings?

If you want any further info I can provide..

Thanks
Balu

--- Barry Hawkins <barry at alltc.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Balu wrote:
> | Hi
> | I am using Hibernate/Websphere with oracle as
> | Database.I am having problem with
> Insert(s)/Update(s).
> | I am getting the following error once hibernate
> issues
> | either insert/update
> [...]
> | I am having 2 different environments 1)Development
> | where everything works fine,even insert and
> updates
> | 2)Test environment where hibernate select works
> but
> | not insert and updates
> [...]
> Balu,
> ~    Without knowing about your database schema and
> mapping files, my
> guess would be an inconsistency with your .hbm.xml
> files.  Are you sure
> that the Hibernate mapping files between the two
> environments are
> identical?  Are they both going against the same
> database?  If not, are
> the schemata identical between the two databases?
> 
> Regards,
> - --
> Barry Hawkins
> All Things Computed
> site: www.alltc.com
> weblog: www.yepthatsme.com
> 
> Registered Linux User #368650
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.0 (GNU/Linux)
> 
>
iD8DBQFCMcPa7bZ6kUftWZwRAjurAJ99rHJ8VOhIYlG6N5C3DEm93UnJEgCfUtw8
> 1OnBubyK8xOMtwx2+hp5uEE=
> =om65
> -----END PGP SIGNATURE-----
> _______________________________________________
> ajug-members mailing list
> ajug-members at ajug.org
> http://www.ajug.org/mailman/listinfo/ajug-members
> 


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 



More information about the ajug-members mailing list