-->
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.  [ 2 posts ] 
Author Message
 Post subject: SchemaUpdater ignores own Hibernate dialect!
PostPosted: Wed Mar 28, 2007 5:14 am 
Beginner
Beginner

Joined: Mon Sep 12, 2005 3:27 am
Posts: 48
Hello,

in my application i use a extended postgres-dialect for my application. It re-defines some data-types for special columns. I force hibernate to use this dialect via persistence.xml.

But the SchemaGeneration/-Update Utility of Hibernate seems to ignore my special postgres-dialect and only uses the default postgres-dialect - so schema generation / update at application startup will fail for some columns.

Is this the correct behaivior, that the SchemaGeneration-Utility of Hibernate ignores my special Hibernate dialect ???


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 28, 2007 7:32 am 
Beginner
Beginner

Joined: Mon Sep 12, 2005 3:27 am
Posts: 48
Or simpler asked: How to get rid off this failure on application startup:

Code:
13:28:42,370 ERROR [SchemaUpdate] Unsuccessful: create table TAudit_Changed_Field (id int8 not null, field varchar(255), afterValue LONGVARCHAR, beforeValue LONGVARCHAR, timeMillis int8 not null, auditRecord_identifier varchar(255), auditRecord_action int4, auditRecord_entity varchar(255), auditRecord_timeMillis int8, auditRecord_changedBy varchar(255), primary key (id))
13:28:42,370 ERROR [SchemaUpdate] ERROR: type "longvarchar" does not exist


for PostgreSQL 8.1 ?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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.