I already posted the solutions, I guess it is taking a while for it to show up :)<br><br><div class="gmail_quote">On Wed, Aug 26, 2009 at 9:54 AM, Kris Verlaenen <span dir="ltr">&lt;<a href="mailto:kris.verlaenen@cs.kuleuven.be">kris.verlaenen@cs.kuleuven.be</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Sanjay,<br>
<br>
Didn&#39;t know Oracle still defines so much restrictions. Could you test<br>
which changes are required to make the mapping work in Oracle as well?<br>
You can easily change table and column names by adding the appropriate<br>
annotations in the corresponding Java classes:<br>
@Table(name = &quot;xxx&quot;) for annotating the class<br>
@Column(name = &quot;xxx&quot;) for annotating the getter<br>
<br>
If you would send me these changes, I will gladly check whether we could<br>
include them in the build so that it is possible to use Orable by<br>
default as well.<br>
<br>
Kris<br>
<div><div></div><div class="h5"><br>
Quoting SBalakrishnan &lt;<a href="mailto:Sanjay.Balakrishnan@fnis.com">Sanjay.Balakrishnan@fnis.com</a>&gt;:<br>
<br>
&gt;<br>
&gt; Hi,<br>
&gt;<br>
&gt; Pasted below are the problems, the whole list is in the attached<br>
&gt; file<br>
&gt; DroolsTableCreationErrorLog..txt (with my intial post).<br>
&gt;<br>
&gt; Thanks again.<br>
&gt;<br>
&gt; -Sanjay<br>
&gt;<br>
&gt; SEVERE: Unsuccessful: create table Attachment (id number(19,0) not<br>
&gt; null,<br>
&gt; accessType number(10,0), attachedAt timestamp, attachmentContentId<br>
&gt; number(19,0) not null, contentType varchar2(255 char), name<br>
&gt; varchar2(255<br>
&gt; char), size number(10,0) not null, attachedBy_id varchar2(255 char),<br>
&gt; TaskData_Attachments_Id number(19,0), primary key (id))<br>
&gt; Aug 25, 2009 3:21:40 PM org.hibernate.tool.hbm2ddl.SchemaExport<br>
&gt; create<br>
&gt; SEVERE: ORA-00904: : invalid identifier<br>
&gt;<br>
&gt; Aug 25, 2009 3:21:40 PM org.hibernate.tool.hbm2ddl.SchemaExport<br>
&gt; create<br>
&gt; SEVERE: Unsuccessful: create table Comment (id number(19,0) not<br>
&gt; null,<br>
&gt; addedAt timestamp, text clob, addedBy_id varchar2(255 char),<br>
&gt; TaskData_Comments_Id number(19,0), primary key (id))<br>
&gt; Aug 25, 2009 3:21:40 PM org.hibernate.tool.hbm2ddl.SchemaExport<br>
&gt; create<br>
&gt; SEVERE: ORA-00903: invalid table name<br>
&gt;<br>
&gt; Aug 25, 2009 3:21:41 PM org.hibernate.tool.hbm2ddl.SchemaExport<br>
&gt; create<br>
&gt; SEVERE: Unsuccessful: create table Deadline (id number(19,0) not<br>
&gt; null, date<br>
&gt; timestamp, escalated number(1,0) not null,<br>
&gt; Deadlines_StartDeadLine_Id<br>
&gt; number(19,0), Deadlines_EndDeadLine_Id number(19,0), primary key<br>
&gt; (id))<br>
&gt; Aug 25, 2009 3:21:41 PM org.hibernate.tool.hbm2ddl.SchemaExport<br>
&gt; create<br>
&gt; SEVERE: ORA-00904: : invalid identifier<br>
&gt;<br>
&gt; Aug 25, 2009 3:21:41 PM org.hibernate.tool.hbm2ddl.SchemaExport<br>
&gt; create<br>
&gt; SEVERE: Unsuccessful: create table<br>
&gt; Notification_BusinessAdministrators<br>
&gt; (task_id number(19,0) not null, entity_id varchar2(255 char) not<br>
&gt; null)<br>
&gt; Aug 25, 2009 3:21:41 PM org.hibernate.tool.hbm2ddl.SchemaExport<br>
&gt; create<br>
&gt; SEVERE: ORA-00972: identifier is too long<br>
&gt;<br>
&gt; Aug 25, 2009 3:21:41 PM org.hibernate.tool.hbm2ddl.SchemaExport<br>
&gt; create<br>
&gt; SEVERE: Unsuccessful: create table<br>
&gt; Notification_EmailNotificationHeader<br>
&gt; (Notification_id number(19,0) not null, emailHeaders_id number(19,0)<br>
&gt; not<br>
&gt; null, mapkey varchar2(255 char), primary key (Notification_id,<br>
&gt; mapkey),<br>
&gt; unique (emailHeaders_id))<br>
&gt; Aug 25, 2009 3:21:41 PM org.hibernate.tool.hbm2ddl.SchemaExport<br>
&gt; create<br>
&gt; SEVERE: ORA-00972: identifier is too long<br>
&gt;<br>
&gt; Aug 25, 2009 3:21:42 PM org.hibernate.tool.hbm2ddl.SchemaExport<br>
&gt; create<br>
&gt; SEVERE: Unsuccessful: create table<br>
&gt; PeopleAssignments_BusinessAdministrators<br>
&gt; (task_id number(19,0) not null, entity_id varchar2(255 char) not<br>
&gt; null)<br>
&gt; Aug 25, 2009 3:21:42 PM org.hibernate.tool.hbm2ddl.SchemaExport<br>
&gt; create<br>
&gt; SEVERE: ORA-00972: identifier is too long<br>
&gt;<br>
&gt; Aug 25, 2009 3:21:42 PM org.hibernate.tool.hbm2ddl.SchemaExport<br>
&gt; create<br>
&gt; SEVERE: Unsuccessful: create table PeopleAssignments_ExcludedOwners<br>
&gt; (task_id<br>
&gt; number(19,0) not null, entity_id varchar2(255 char) not null)<br>
&gt; Aug 25, 2009 3:21:42 PM org.hibernate.tool.hbm2ddl.SchemaExport<br>
&gt; create<br>
&gt; SEVERE: ORA-00972: identifier is too long<br>
&gt;<br>
&gt; Aug 25, 2009 3:21:43 PM org.hibernate.tool.hbm2ddl.SchemaExport<br>
&gt; create<br>
&gt; SEVERE: Unsuccessful: create table PeopleAssignments_PotentialOwners<br>
&gt; (task_id number(19,0) not null, entity_id varchar2(255 char) not<br>
&gt; null)<br>
&gt; Aug 25, 2009 3:21:43 PM org.hibernate.tool.hbm2ddl.SchemaExport<br>
&gt; create<br>
&gt; SEVERE: ORA-00972: identifier is too long<br>
&gt;<br>
&gt; Aug 25, 2009 3:21:43 PM org.hibernate.tool.hbm2ddl.SchemaExport<br>
&gt; create<br>
&gt; SEVERE: Unsuccessful: create table<br>
&gt; PeopleAssignments_TaskStakeholders<br>
&gt; (task_id number(19,0) not null, entity_id varchar2(255 char) not<br>
&gt; null)<br>
&gt; Aug 25, 2009 3:21:43 PM org.hibernate.tool.hbm2ddl.SchemaExport<br>
&gt; create<br>
&gt; SEVERE: ORA-00972: identifier is too long<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Mauricio Salatino wrote:<br>
&gt; &gt;<br>
&gt; &gt; Yes, I run it with postgreSQL and MySQL without problems..<br>
&gt; &gt; Can you post the problems here?<br>
&gt; &gt;<br>
&gt; &gt; On Tue, Aug 25, 2009 at 4:29 PM, SBalakrishnan<br>
&gt; &gt; &lt;<a href="mailto:Sanjay.Balakrishnan@fnis.com">Sanjay.Balakrishnan@fnis.com</a><br>
&gt; &gt;&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Hi,<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Eventually we plan to use oracle for persistence,<br>
&gt; &gt;&gt; hence I pointed my persistence.xml (Human Task component) to an<br>
&gt; Oracle<br>
&gt; &gt;&gt; Database 10g instance<br>
&gt; &gt;&gt; and immediately ran into<br>
&gt; &gt;&gt; a number of critical issues (invalid identifiers,reserved names ,<br>
&gt; and<br>
&gt; &gt;&gt; identifier is too long etc.).<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; The logs are attached. Am I missing something ? Have others used<br>
&gt; other<br>
&gt; &gt;&gt; databases apart from the default (H2) ?<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Thanks in advance<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Sanjay<br>
&gt; &gt;&gt;<br>
&gt; <a href="http://www.nabble.com/file/p25144010/DroolsTableCreationErrorLog..txt" target="_blank">http://www.nabble.com/file/p25144010/DroolsTableCreationErrorLog..txt</a><br>
&gt; &gt;&gt; DroolsTableCreationErrorLog..txt<br>
&gt; &gt;&gt; --<br>
&gt; &gt;&gt; View this message in context:<br>
&gt; &gt;&gt;<br>
&gt;<br>
<a href="http://www.nabble.com/Running-into-Persistence-Issues-tp25144010p25144010.html" target="_blank">http://www.nabble.com/Running-into-Persistence-Issues-tp25144010p25144010.html</a><br>
&gt; &gt;&gt; Sent from the drools - user mailing list archive at Nabble.com.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; _______________________________________________<br>
&gt; &gt;&gt; rules-users mailing list<br>
&gt; &gt;&gt; <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
&gt; &gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt; &gt;&gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt; - <a href="http://salaboy.wordpress.com" target="_blank">http://salaboy.wordpress.com</a><br>
&gt; &gt; - <a href="http://www.jbug.com.ar" target="_blank">http://www.jbug.com.ar</a><br>
&gt; &gt; - Salatino &quot;Salaboy&quot; Mauricio -<br>
&gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; rules-users mailing list<br>
&gt; &gt; <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
&gt; &gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; --<br>
&gt; View this message in context:<br>
&gt;<br>
<a href="http://www.nabble.com/Running-into-Persistence-Issues-tp25144010p25151160.html" target="_blank">http://www.nabble.com/Running-into-Persistence-Issues-tp25144010p25151160.html</a><br>
&gt; Sent from the drools - user mailing list archive at Nabble.com.<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; rules-users mailing list<br>
&gt; <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt;<br>
<br>
<br>
<br>
<br>
</div></div>Disclaimer: <a href="http://www.kuleuven.be/cwis/email_disclaimer.htm" target="_blank">http://www.kuleuven.be/cwis/email_disclaimer.htm</a><br>
<div><div></div><div class="h5">_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div></div></blockquote></div><br>