<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 6: Problems using Hibernate Hbm2DDLExporter</title><link href="https://sourceforge.net/p/postgres-xc/support-requests/6/" rel="alternate"/><link href="https://sourceforge.net/p/postgres-xc/support-requests/6/feed.atom" rel="self"/><id>https://sourceforge.net/p/postgres-xc/support-requests/6/</id><updated>2014-09-19T11:50:02.734000Z</updated><subtitle>Recent changes to 6: Problems using Hibernate Hbm2DDLExporter</subtitle><entry><title>#6 Problems using Hibernate Hbm2DDLExporter</title><link href="https://sourceforge.net/p/postgres-xc/support-requests/6/?limit=25#d1d7" rel="alternate"/><published>2014-09-19T11:50:02.734000Z</published><updated>2014-09-19T11:50:02.734000Z</updated><author><name>GreatSUN</name><uri>https://sourceforge.net/u/greatsun2009/</uri></author><id>https://sourceforge.net0ef4c4c04d950d8df7992136c4bdd1428bb26b57</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks for your support. Everything seems to be working properly now.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#6 Problems using Hibernate Hbm2DDLExporter</title><link href="https://sourceforge.net/p/postgres-xc/support-requests/6/?limit=25#e158" rel="alternate"/><published>2014-09-18T09:08:07.734000Z</published><updated>2014-09-18T09:08:07.734000Z</updated><author><name>GreatSUN</name><uri>https://sourceforge.net/u/greatsun2009/</uri></author><id>https://sourceforge.net0f3b7ac0d4801ecec229d1599c2b251327010567</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Still one problem left now...&lt;/p&gt;
&lt;p&gt;Table is created via:&lt;/p&gt;
&lt;p&gt;CREATE TABLE qrtz_triggers (&lt;br /&gt;
    trigger_name character varying(200) NOT NULL,&lt;br /&gt;
    trigger_group character varying(200) NOT NULL,&lt;br /&gt;
    job_name character varying(200) NOT NULL,&lt;br /&gt;
    job_group character varying(200) NOT NULL,&lt;br /&gt;
    is_volatile boolean NOT NULL,&lt;br /&gt;
    description character varying(250),&lt;br /&gt;
    next_fire_time bigint,&lt;br /&gt;
    prev_fire_time bigint,&lt;br /&gt;
    trigger_state character varying(16) NOT NULL,&lt;br /&gt;
    trigger_type character varying(8) NOT NULL,&lt;br /&gt;
    start_time bigint NOT NULL,&lt;br /&gt;
    end_time bigint,&lt;br /&gt;
    calendar_name character varying(200),&lt;br /&gt;
    misfire_instr integer,&lt;br /&gt;
    job_data bytea,&lt;br /&gt;
    priority integer&lt;br /&gt;
)&lt;br /&gt;
DISTRIBUTE BY REPLICATION;&lt;br /&gt;
ALTER TABLE ONLY qrtz_triggers&lt;br /&gt;
    ADD CONSTRAINT qrtz_triggers_pkey PRIMARY KEY (trigger_name, trigger_group);&lt;/p&gt;
&lt;p&gt;Command that fails:&lt;br /&gt;
ALTER TABLE ONLY qrtz_triggers&lt;br /&gt;
    ADD CONSTRAINT eam_fk_qt_qjd FOREIGN KEY (job_name, job_group) REFERENCES qrtz_job_details(job_name, job_group) ON DELETE CASCADE;&lt;/p&gt;
&lt;p&gt;Errormessage:&lt;br /&gt;
ERROR:  Cannot create foreign key whose evaluation cannot be enforced to remote nodes&lt;/p&gt;
&lt;p&gt;Can you tell me how I can fix this perhaps?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#6 Problems using Hibernate Hbm2DDLExporter</title><link href="https://sourceforge.net/p/postgres-xc/support-requests/6/?limit=25#9fdd" rel="alternate"/><published>2014-09-18T06:13:10.346000Z</published><updated>2014-09-18T06:13:10.346000Z</updated><author><name>GreatSUN</name><uri>https://sourceforge.net/u/greatsun2009/</uri></author><id>https://sourceforge.net57fb22c911b103445fbc5e1fd20c6aa46bbf7633</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I am using the binary enterprise version of it. Problem occurs when creating tables:&lt;/p&gt;
&lt;p&gt;hq=&amp;gt; create table EAM_AGENT (&lt;br /&gt;
hq(&amp;gt; ID int4 not null,&lt;br /&gt;
hq(&amp;gt; VERSION_COL int8 default 0 not null,&lt;br /&gt;
hq(&amp;gt; ADDRESS varchar(255) not null,&lt;br /&gt;
hq(&amp;gt; PORT int4 not null,&lt;br /&gt;
hq(&amp;gt; AUTHTOKEN varchar(100) not null,&lt;br /&gt;
hq(&amp;gt; AGENTTOKEN varchar(100) not null unique,&lt;br /&gt;
hq(&amp;gt; VERSION varchar(50),&lt;br /&gt;
hq(&amp;gt; CTIME int8,&lt;br /&gt;
hq(&amp;gt; MTIME int8,&lt;br /&gt;
hq(&amp;gt; UNIDIRECTIONAL bool not null,&lt;br /&gt;
hq(&amp;gt; PLUGIN_INVENTORY_CHECKSUM varchar(128),&lt;br /&gt;
hq(&amp;gt; LAST_PLUGIN_INVENTORY_CHECKIN int8 default 0 not null,&lt;br /&gt;
hq(&amp;gt; AGENT_TYPE_ID int4,&lt;br /&gt;
hq(&amp;gt; primary key (ID)&lt;br /&gt;
hq(&amp;gt; );&lt;/p&gt;
&lt;p&gt;ERROR: Unique index of partitioned table must contain the hash/modulo distribution column.&lt;/p&gt;
&lt;p&gt;which can be fixed by adding DISTRIBUTE BY REPLICATION to the end of the query.&lt;/p&gt;
&lt;p&gt;The problem I have is that I am not able to add it, cause I don't know how I could do that (hence this stuff is done by hypernate).&lt;/p&gt;
&lt;p&gt;Can you help me there?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Problems using Hibernate Hbm2DDLExporter</title><link href="https://sourceforge.net/p/postgres-xc/support-requests/6/" rel="alternate"/><published>2014-09-17T13:32:27.582000Z</published><updated>2014-09-17T13:32:27.582000Z</updated><author><name>GreatSUN</name><uri>https://sourceforge.net/u/greatsun2009/</uri></author><id>https://sourceforge.net0a608ff0f2a29568e3a23edbc3d9896e073434ee</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;When trying to install hyperic server which supports PostgreSQL 9.1.x I get an error message stating that the database might not be supported.&lt;br /&gt;
Do you have an idea how to fix this possibly?&lt;/p&gt;
&lt;p&gt;Errormsg: hyperic-hqee-installer-5.8.2/installer/data/setup-db-hibernate.xml:102: org.hibernate.tool.hbm2x.ExporterException: Errors while performing Hbm2DDLExporter&lt;/p&gt;
&lt;p&gt;Thanks in advance for your help!&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>