Of course!<br><br>I'm just going to port MySQL database schema to Oracle in my project.<br><br>Give me some days only!<br><br><div class="gmail_quote">2010/11/15 Mauricio Salatino <span dir="ltr"><<a href="mailto:salaboy@gmail.com">salaboy@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">yes I'm with Rui,<div>Changing the annotations in the code requires recompilation.. and that's not good... because when you update your drools version (ramram) you will lose that kind of changes.</div>
<div>I think that the best solution is to create xml mappings for different vendors.. Rui if you can contribute with that.. will be awesome!</div>
<div>Greetings!<br><br><div class="gmail_quote">2010/11/11 Rui Tang <span dir="ltr"><<a href="http://tangrui.cn" target="_blank">tangrui.cn</a>@<a href="http://gmail.com" target="_blank">gmail.com</a>></span><div><div>
</div><div class="h5"><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi, friends<br>
<br>
I'd like to add xml config to fix this this problem. Because<br>
sometimes, for different databases, we may need different mappings.<br>
E.g. we may need varchar2 in Oracle other than varchar in others.<br>
<br>
I've read some other one's note to say that it is better to define the<br>
relationship of entities using annotation, but database mapping using<br>
config files.<br>
<br>
What's your opinion? Look forward.<br>
<br>
2010/11/11, ramram <<a href="mailto:ramram858@gmail.com" target="_blank">ramram858@gmail.com</a>>:<br>
<div><div></div><div>><br>
> Hi Salaboy, Kris<br>
><br>
> I managed to do the persistence to Oracle and that is not by creating an<br>
> xml file but by adding annotations to the org.drools.task file and I mean by<br>
> this:<br>
><br>
> for example org.drools.task.Deadline<br>
> - the column name [date] reserved word for oracle. So what I did is<br>
> the following: in the java file I added the following :<br>
> - @Column(name="dDate")<br>
> private Date date;<br>
> and For the classes that have long table name such as<br>
> org.drools.EmailNotificationHeader<br>
> @Entity<br>
> @Table(name="EmailNotifHead")<br>
> public class EmailNotificationHeader<br>
><br>
><br>
> can you add this in the next releases to the drools task??????<br>
> is the solution that I did a correct one??????<br>
><br>
> Regards,<br>
> Ram<br>
> --<br>
> View this message in context:<br>
> <a href="http://drools-java-rules-engine.46999.n3.nabble.com/Drools-Human-Task-Service-Persistence-tp1868778p1881543.html" target="_blank">http://drools-java-rules-engine.46999.n3.nabble.com/Drools-Human-Task-Service-Persistence-tp1868778p1881543.html</a><br>
> Sent from the Drools - User mailing list archive at Nabble.com.<br>
> _______________________________________________<br>
> rules-users mailing list<br>
> <a href="mailto:rules-users@lists.jboss.org" target="_blank">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>
><br>
<br>
</div></div><font color="#888888">--<br>
从我的移动设备发送<br>
<br>
唐睿<br>
</font><div><div></div><div><br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">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></div></div><br><br clear="all"><br>-- <br><div class="im"> - CTO @ <a href="http://www.plugtree.com" target="_blank">http://www.plugtree.com</a> <br> - MyJourney @ <a href="http://salaboy.wordpress.com" target="_blank">http://salaboy.wordpress.com</a><br>
- Co-Founder @ <a href="http://www.jbug.com.ar" target="_blank">http://www.jbug.com.ar</a><br> <br> - Salatino "Salaboy" Mauricio -<br>
</div></div>
<br>_______________________________________________<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>
<br></blockquote></div><br><br clear="all"><br>-- <br>唐睿<br>