<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 6: Problems using Hibernate Hbm2DDLExporter</title><link>https://sourceforge.net/p/postgres-xc/support-requests/6/</link><description>Recent changes to 6: Problems using Hibernate Hbm2DDLExporter</description><atom:link href="https://sourceforge.net/p/postgres-xc/support-requests/6/feed.rss" rel="self"/><language>en</language><lastBuildDate>Fri, 19 Sep 2014 11:50:02 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/postgres-xc/support-requests/6/feed.rss" rel="self" type="application/rss+xml"/><item><title>#6 Problems using Hibernate Hbm2DDLExporter</title><link>https://sourceforge.net/p/postgres-xc/support-requests/6/?limit=25#d1d7</link><description>&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;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">GreatSUN</dc:creator><pubDate>Fri, 19 Sep 2014 11:50:02 -0000</pubDate><guid>https://sourceforge.net0ef4c4c04d950d8df7992136c4bdd1428bb26b57</guid></item><item><title>#6 Problems using Hibernate Hbm2DDLExporter</title><link>https://sourceforge.net/p/postgres-xc/support-requests/6/?limit=25#e158</link><description>&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;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">GreatSUN</dc:creator><pubDate>Thu, 18 Sep 2014 09:08:07 -0000</pubDate><guid>https://sourceforge.net0f3b7ac0d4801ecec229d1599c2b251327010567</guid></item><item><title>#6 Problems using Hibernate Hbm2DDLExporter</title><link>https://sourceforge.net/p/postgres-xc/support-requests/6/?limit=25#9fdd</link><description>&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;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">GreatSUN</dc:creator><pubDate>Thu, 18 Sep 2014 06:13:10 -0000</pubDate><guid>https://sourceforge.net57fb22c911b103445fbc5e1fd20c6aa46bbf7633</guid></item><item><title>Problems using Hibernate Hbm2DDLExporter</title><link>https://sourceforge.net/p/postgres-xc/support-requests/6/</link><description>&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;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">GreatSUN</dc:creator><pubDate>Wed, 17 Sep 2014 13:32:27 -0000</pubDate><guid>https://sourceforge.net0a608ff0f2a29568e3a23edbc3d9896e073434ee</guid></item></channel></rss>