-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Spring + Hibernate error in sybase with weblogic9.2 .
PostPosted: Fri Jun 20, 2008 4:33 pm 
Newbie

Joined: Mon Mar 17, 2008 2:09 pm
Posts: 8
Hi All,

When I try to save an object
getHibernateTemplate().save(eventManager);

using Spring + Hibernate in sybase database it is throwing below error in weblogic9.2 server.

Inside EventManager save:Hibernate operation: could not insert: [test.EventManager]; uncategorized SQLException for SQL [insert into HELP_EVENTS (EVENT_ID, ASSIGNED_TO, CREATED_BY, CREATED_DT) values (?, ?, ?, ?)]; SQL state [HY000]; error code [0]; [BEA][Sybase JDBC Driver]Unsupported method: Connection.prepareStatement(String, String[]); nested exception is java.sql.SQLException: [BEA][Sybase JDBC Driver]Unsupported method: Connection.prepareStatement(String, String[])

I'm using 'weblogic.jdbc.sybase.SybaseDriver' driver for database connection.

Please let me know, how to resolve this problem.

Thanks in advance.

Regards,
Sharath.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.