Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version:
3.0
Mapping documents:
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping
package="com.intellinx.channels.internal">
<class name="MessageDBObject" table="Messages" lazy="true">
<id name="messageId">
<column name="MessageId" length="36"/>
</id>
<property name="SessionId" length="36"/>
<property name="MessageType" length="36"/>
<property name="MessageVersion" length="36"/>
<property name="MessageArrivalTime" />
<list name="fields" table="MessageFields">
<key not-null="true">
<column name="MessageId" length="36"/>
</key>
<list-index column="FieldIndex" />
<composite-element class="GXMessageFieldDBObject">
<property name="FieldName"/>
<property name="FieldValue"/>
</composite-element>
</list>
</class>
</hibernate-mapping>
---------------------
Hello everyone.
I cannot run the HQL console with this mapping file (running "creatae session factory" on one of the cfgs). I receive a Mapping exception with a stack trace that refers to the DTD being wrong somehow.
I noticed that the JAR I am using (hibernate3) is different than my plug-in's JAR. Attempts at using the same JAR for both libs have come up short (other bugs have occured).
My XMLs are hand-made but follow the standard and work fine in the app. My only problem is running the HQL console
Has anyone gotten the HQL console to work properly? Are there any other working tools available? I desperately need a way to run queries without compiling.
Thanks
Eyal