Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jpa-dev] Using UUID primary key with JPA 3.1 on PostgreSQL

Thanks, Reza. The problem is indeed specific to EclipseLink, I believe. I guessed 'jpa-dev' would include 'eclipselink', since EclipseLink is the RI for JPA, but I understand that assumption isn't correct.

I'll move the question to eclipselink-users@e.o


Thanks again,

Maarten

On 19/01/2023 19:52, reza_rahman@xxxxxxxxx wrote:
The right folks might be here, but I would try the EclipseLink and Open Liberty forums/mailing lists. The code looks right to me
------------------------------------------------------------------------
*From:* jpa-dev <jpa-dev-bounces@xxxxxxxxxxx> on behalf of Maarten Mulders <maarten@xxxxxxxxxx>
*Sent:* Thursday, January 19, 2023 1:07 PM
*To:* jpa-dev@xxxxxxxxxxx <jpa-dev@xxxxxxxxxxx>
*Subject:* [jpa-dev] Using UUID primary key with JPA 3.1 on PostgreSQL
Hi all,

Not sure if this is the right place to ask, so feel free to redirect me
if my question is not in the right place.

While upgrading a sample app from Jakarta EE 9 to Jakarta EE 10, I was
looking forward to using JPA 3.1. In the announcements, I read that I
should be able to use UUID types directly, without custom converters or
such.

Unfortunately, I wasn't able to get it to work. Now, I am in doubt if
what I found is a scenario that is not supposed to work, or a bug. If
it's not supposed to work, I'd love to learn *why*. If it's a bug, I
found there's a relatively simple way I believe it could be fixed [2].

I'd love to hear your opinions about this issue!

Thanks in advance,


Maarten


[1] https://github.com/eclipse-ee4j/eclipselink/issues/1771
[2] https://github.com/eclipse-ee4j/eclipselink/pull/1778
_______________________________________________
jpa-dev mailing list
jpa-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jpa-dev

_______________________________________________
jpa-dev mailing list
jpa-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jpa-dev


Back to the top