-->
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.  [ 4 posts ] 
Author Message
 Post subject: No persister for jdbc transaction
PostPosted: Sat Jan 31, 2004 4:53 pm 
Newbie

Joined: Sat Jan 31, 2004 4:32 pm
Posts: 4
Hi all,

I've been getting the following error:

No persister for: net.sf.hibernate.transaction.JDBCTransaction
net.sf.hibernate.MappingException: No persister for: net.sf.hibernate.transaction.JDBCTransaction
at net.sf.hibernate.impl.SessionFactoryImpl.getPersister(SessionFactoryImpl.java:344)
at net.sf.hibernate.impl.SessionImpl.getClassPersister(SessionImpl.java:2574)
at net.sf.hibernate.impl.SessionImpl.getPersister(SessionImpl.java:2581)
at net.sf.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:1316)
at com.idollarz.datamodel.tools.PopulateDB.main(PopulateDB.java:358)

I tried changing from mysql (using myisam tables.. which don't support transactions) to sapdb/maxdb.. but the error persists.. So it's not that.

Could someone point me in the right direction?

Thanks!!


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jan 31, 2004 5:46 pm 
Beginner
Beginner

Joined: Thu Nov 20, 2003 12:29 pm
Posts: 39
could it be, you trying to persist a JDBC connection ?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 01, 2004 9:58 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
LOL If true this is the exception of the month :)

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 10, 2004 11:07 pm 
Newbie

Joined: Sat Jan 31, 2004 4:32 pm
Posts: 4
Haha.. yep! That was true: I was trying to persist the transaction itself!! Got my naming messed up (had a "Transaction" class)..

Looks like I win the exception of the month!!


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

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.