<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: The definitive (I hope!) guide to switching JBoss from Hypersonic to MySQL</title>
	<atom:link href="http://themindwobbles.wordpress.com/2006/10/20/the-definitive-i-hope-guide-to-switching-jboss-from-hypersonic-to-mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://themindwobbles.wordpress.com/2006/10/20/the-definitive-i-hope-guide-to-switching-jboss-from-hypersonic-to-mysql/</link>
	<description>Systems Biology, Bioinformatics, Ontologies, Data Integration, Workshops, News, Papers, etc..</description>
	<lastBuildDate>Thu, 12 Nov 2009 13:58:11 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: themindwobbles</title>
		<link>http://themindwobbles.wordpress.com/2006/10/20/the-definitive-i-hope-guide-to-switching-jboss-from-hypersonic-to-mysql/#comment-978</link>
		<dc:creator>themindwobbles</dc:creator>
		<pubDate>Sun, 09 Dec 2007 14:22:36 +0000</pubDate>
		<guid isPermaLink="false">http://themindwobbles.wordpress.com/2006/10/20/the-definitive-i-hope-guide-to-switching-jboss-from-hypersonic-to-mysql/#comment-978</guid>
		<description>Hi there,

Sorry - I don&#039;t really use Jboss anymore, so I can&#039;t really help you here. Thanks for commenting, though, and good luck!</description>
		<content:encoded><![CDATA[<p>Hi there,</p>
<p>Sorry &#8211; I don&#8217;t really use Jboss anymore, so I can&#8217;t really help you here. Thanks for commenting, though, and good luck!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rodosa</title>
		<link>http://themindwobbles.wordpress.com/2006/10/20/the-definitive-i-hope-guide-to-switching-jboss-from-hypersonic-to-mysql/#comment-977</link>
		<dc:creator>rodosa</dc:creator>
		<pubDate>Sun, 09 Dec 2007 10:06:26 +0000</pubDate>
		<guid isPermaLink="false">http://themindwobbles.wordpress.com/2006/10/20/the-definitive-i-hope-guide-to-switching-jboss-from-hypersonic-to-mysql/#comment-977</guid>
		<description>Hello!!!

    Thank you very much for write this interesting post! It&#039;s help me a lot. I&#039;m new in the jBPM&#039;s world and I&#039;ve configured jbpm to works with MySQL, but I have a problem. I&#039;ve changed the hibernate.cgf.xml file to works with mySQL but it doen´t works. When I want to do a persistence operation en jbpm a exception is thrown:

2007-12-09 10:56:08,328 DEBUG [org.hibernate.util.JDBCExceptionReporter] could not execute query [select job0_.ID_ as ID1_26_, job0_.VERSION_ as VERSION3_26_, job0_.DUEDATE_ as DUEDATE4_26_, job0_.PROCESSINSTANCE_ as PROCESSI5_26_, job0_.TOKEN_ as TOKEN6_26_, job0_.TASKINSTANCE_ as TASKINST7_26_, job0_.ISSUSPENDED_ as ISSUSPEN8_26_, job0_.ISEXCLUSIVE_ as ISEXCLUS9_26_, job0_.LOCKOWNER_ as LOCKOWNER10_26_, job0_.LOCKTIME_ as LOCKTIME11_26_, job0_.EXCEPTION_ as EXCEPTION12_26_, job0_.RETRIES_ as RETRIES13_26_, job0_.NAME_ as NAME14_26_, job0_.REPEAT_ as REPEAT15_26_, job0_.TRANSITIONNAME_ as TRANSIT16_26_, job0_.ACTION_ as ACTION17_26_, job0_.GRAPHELEMENTTYPE_ as GRAPHEL18_26_, job0_.GRAPHELEMENT_ as GRAPHEL19_26_, job0_.NODE_ as NODE20_26_, job0_.CLASS_ as CLASS2_26_ from JBPM_JOB job0_ where (job0_.LOCKOWNER_ is null or job0_.LOCKOWNER_=?) and job0_.RETRIES_&gt;0 and job0_.DUEDATE_&lt;=? and job0_.ISSUSPENDED_1 order by job0_.DUEDATE_ asc]
com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near &#039;1 job0_.ID_ as ID1_26_, job0_.VERSION_ as VERSION3_26_, job0_.DUEDATE_ as DUEDAT&#039; at line 1
	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1027)
	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:957)
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3376)
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3308)
	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1837)
	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1961)
	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2543)
.....


10:56:46,078 [main] ERROR JDBCExceptionReporter : Table not found in statement [insert into JBPM_MODULEINSTANCE (ID_, VERSION_, PROCESSINSTANCE_, CLASS_) values (null, ?, ?, &#039;C&#039;)]
10:56:46,078 [main] ERROR DbPersistenceService : hibernate commit failed
org.hibernate.exception.SQLGrammarException: could not insert: [org.jbpm.context.exe.ContextInstance]
	at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:67)
	at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
	at org.hibernate.id.insert.AbstractSelectingDelegate.performInsert(AbstractSelectingDelegate.java:40)
	at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2158)
	at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2638)
	at org.hibernate.action.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:48)
	at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:248)
	at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:298)
	at org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:181)
	at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:107)
........


   I&#039;ve check the dialect in hibertane.cfg file and is MySQLDialect and the tables that it doesn&#039;t find exist in the DB!! 

   Do you have any idea of the reason of that? Thank you very much and congratulations of your post.

   Regards!</description>
		<content:encoded><![CDATA[<p>Hello!!!</p>
<p>    Thank you very much for write this interesting post! It&#8217;s help me a lot. I&#8217;m new in the jBPM&#8217;s world and I&#8217;ve configured jbpm to works with MySQL, but I have a problem. I&#8217;ve changed the hibernate.cgf.xml file to works with mySQL but it doen´t works. When I want to do a persistence operation en jbpm a exception is thrown:</p>
<p>2007-12-09 10:56:08,328 DEBUG [org.hibernate.util.JDBCExceptionReporter] could not execute query [select job0_.ID_ as ID1_26_, job0_.VERSION_ as VERSION3_26_, job0_.DUEDATE_ as DUEDATE4_26_, job0_.PROCESSINSTANCE_ as PROCESSI5_26_, job0_.TOKEN_ as TOKEN6_26_, job0_.TASKINSTANCE_ as TASKINST7_26_, job0_.ISSUSPENDED_ as ISSUSPEN8_26_, job0_.ISEXCLUSIVE_ as ISEXCLUS9_26_, job0_.LOCKOWNER_ as LOCKOWNER10_26_, job0_.LOCKTIME_ as LOCKTIME11_26_, job0_.EXCEPTION_ as EXCEPTION12_26_, job0_.RETRIES_ as RETRIES13_26_, job0_.NAME_ as NAME14_26_, job0_.REPEAT_ as REPEAT15_26_, job0_.TRANSITIONNAME_ as TRANSIT16_26_, job0_.ACTION_ as ACTION17_26_, job0_.GRAPHELEMENTTYPE_ as GRAPHEL18_26_, job0_.GRAPHELEMENT_ as GRAPHEL19_26_, job0_.NODE_ as NODE20_26_, job0_.CLASS_ as CLASS2_26_ from JBPM_JOB job0_ where (job0_.LOCKOWNER_ is null or job0_.LOCKOWNER_=?) and job0_.RETRIES_&gt;0 and job0_.DUEDATE_&lt;=? and job0_.ISSUSPENDED_1 order by job0_.DUEDATE_ asc]<br />
com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near &#8216;1 job0_.ID_ as ID1_26_, job0_.VERSION_ as VERSION3_26_, job0_.DUEDATE_ as DUEDAT&#8217; at line 1<br />
	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1027)<br />
	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:957)<br />
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3376)<br />
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3308)<br />
	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1837)<br />
	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1961)<br />
	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2543)<br />
&#8230;..</p>
<p>10:56:46,078 [main] ERROR JDBCExceptionReporter : Table not found in statement [insert into JBPM_MODULEINSTANCE (ID_, VERSION_, PROCESSINSTANCE_, CLASS_) values (null, ?, ?, 'C')]<br />
10:56:46,078 [main] ERROR DbPersistenceService : hibernate commit failed<br />
org.hibernate.exception.SQLGrammarException: could not insert: [org.jbpm.context.exe.ContextInstance]<br />
	at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:67)<br />
	at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)<br />
	at org.hibernate.id.insert.AbstractSelectingDelegate.performInsert(AbstractSelectingDelegate.java:40)<br />
	at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2158)<br />
	at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2638)<br />
	at org.hibernate.action.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:48)<br />
	at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:248)<br />
	at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:298)<br />
	at org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:181)<br />
	at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:107)<br />
&#8230;&#8230;..</p>
<p>   I&#8217;ve check the dialect in hibertane.cfg file and is MySQLDialect and the tables that it doesn&#8217;t find exist in the DB!! </p>
<p>   Do you have any idea of the reason of that? Thank you very much and congratulations of your post.</p>
<p>   Regards!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
