|Re: Teneo Hibernate Dialect must be explicitly set [message #422736 is a reply to message #422735]
||Mon, 15 September 2008 16:19
| Martin Taal
Registered: July 2009
Yes this was an issue I solved a few weeks back. When you update to the latest 1.0.1 M build of
Teneo then this should be solved.
Geoffry Roberts wrote:
> Martin Taal wrote:
>> Hi Geoffry,
>> Which version of Teneo are you using? A few weeks back I solved an issue
> My About eclipse plug ins listing shows the version to be:
> It is what was in the ganymede distribution.
> that hibernate.properties
>> were not used by hibernate.
>> Can you check if the hibernate.properties file is indeed copied to the
> output folder? It should be
> Yes, hibernate.properties is indeed in the output folder.
> Just so you'll know, I use Hibernate extensively sans teneo. It is only
> when I try the EMF/teneo that I encounter this problem. As I stated
> before, hibernate.properties is being read, by hibernate. It would
> appear that it's only when teneo gets involved that things go wrong.
>> present in the build.properties of the plugin.
>> gr. Martin
>> Geoffry Roberts wrote:
>>> Its my first attempt with teneo and I'm getting an error: "Hibernate
>>> Dialect must be explicitly set".
>>> The dialect is being set in hibernate.properties and the file must be
>>> being read because it also contains things like url, username , etc
>>> all of which are working.
>>> My EMF is trivial and is generated from an xsd. I doubt it is the
>>> problem but I've included it below for good measure. IMHO the
>>> hibernate.properties is also correct.
>>> Any observations?
>>> hibernate.dialect org.hibernate.dialect.MySQLInnoDBDialect
>>> hibernate.connection.driver_class com.mysql.jdbc.Driver
>>> hibernate.connection.url jdbc:mysql://localhost:3306/epicase
>>> hibernate.connection.username epiuser
>>> xsd file:
>>> <?xml version="1.0" encoding="UTF-8"?>
>>> <!-- edited with XMLSpy v2006 rel. 3 sp2 (http://www.altova.com) by
>>> Gena Samanc (Apogen Technologies) -->
>>> <xs:schema xmlns="qq.mob.epicase.xsd"
>>> targetNamespace="qq.mob.epicase.xsd" elementFormDefault="qualified"
>>> <xs:complexType name="EpiCase">
>>> <xs:element name="zcta" type="xs:string"/>
>>> <xs:element name="disease" type="xs:string"/>
>>> <xs:element name="stage" type="xs:string"/>
With Regards, Martin Taal
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: email@example.com - firstname.lastname@example.org
Web: www.springsite.com - www.elver.org
Powered by FUDForum
. Page generated in 0.02225 seconds