Using UUID Values With RIFE CreateTable

View: New views
3 Messages — Rating Filter:   Alert me  

Using UUID Values With RIFE CreateTable

by David Medinets :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi. I was succesful in using RIFE to generate the Create Table SQL for
me. I wrote a short blog entry at
http://affy.blogspot.com/2005/11/using-rife-createtable-to-generate.html.
And I also looked into supporting the UUID Java datatype which I
describe at http://affy.blogspot.com/2005/11/using-uuid-values-with-rife.html.

Supporting UUID values seems quite straightforward. Am I missing some
complexity?

Could I create a change request to officially support the UUID Java data type?

thanks,
david


Re: Using UUID Values With RIFE CreateTable

by Geert Bevin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi David,

thanks a lot for your blog posts.

The main reason why there's no UUID support, is that RIFE still  
targets JDK 1.4 as well as JDK 1.5. Adding support for this requires  
more than a simple additional if statement. It would be a worthwhile  
addition though, can you add an issue for it to the issue tracker  
(http://servlet.uwyn.com/issues/browse/RIFE)?

Thanks.

Best regards,

Geert

On 2-nov-05, at 03:21, David Medinets wrote:

> Hi. I was succesful in using RIFE to generate the Create Table SQL for
> me. I wrote a short blog entry at
> http://affy.blogspot.com/2005/11/using-rife-createtable-to- 
> generate.html.
> And I also looked into supporting the UUID Java datatype which I
> describe at http://affy.blogspot.com/2005/11/using-uuid-values-with- 
> rife.html.
>
> Supporting UUID values seems quite straightforward. Am I missing some
> complexity?
>
> Could I create a change request to officially support the UUID Java  
> data type?
>
> thanks,
> david
> _______________________________________________
> Rife-devel mailing list
> Rife-devel@...
> http://www.uwyn.com/mailman/listinfo/rife-devel
>

--
Geert Bevin                       Uwyn bvba
"Use what you need"               Avenue de Scailmont 34
http://www.uwyn.com               7170 Manage, Belgium
gbevin[remove] at uwyn dot com    Tel +32 64 84 80 03

PGP Fingerprint : 4E21 6399 CD9E A384 6619  719A C8F4 D40D 309F D6A9
Public PGP key  : available at servers pgp.mit.edu, wwwkeys.pgp.net




Re: Using UUID Values With RIFE CreateTable

by David Medinets :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 11/2/05, Geert Bevin <gbevin@...> wrote:
> The main reason why there's no UUID support, is that RIFE still
> targets JDK 1.4 as well as JDK 1.5.

This is a good point. Perhaps we can use something like the following
so that JDK 1.5 is not needed to compile RIFE?

  else if (type.getClass().getName().equals("java.util.UUID")) {
    return "VARCHAR(36)";
  }

I have created a ticket for this issue:
http://servlet.uwyn.com/issues/browse/RIFE-240

-david

 
 
 
Google
rifers.org web