Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Querydsl SQL + UUID #454

Closed
jrodalo opened this issue Jul 9, 2013 · 5 comments
Closed

Querydsl SQL + UUID #454

jrodalo opened this issue Jul 9, 2013 · 5 comments
Milestone

Comments

@jrodalo
Copy link
Contributor

@jrodalo jrodalo commented Jul 9, 2013

I'm testing Querydsl SQL in a project that uses UUID as primary keys (1) but code generation via Maven generates beans with the primary keys as java.lang.Object instead of java.util.UUID

  1. http://www.postgresql.org/docs/9.1/static/datatype-uuid.html
  2. https://groups.google.com/d/topic/querydsl/HYmP37m_v0I/discussion
@timowest
Copy link
Member

@timowest timowest commented Jul 17, 2013

Can I incorporate your UtilUUIDType into Querydsl? Type name based Querydsl SQL type registration might be added later.

@jrodalo
Copy link
Contributor Author

@jrodalo jrodalo commented Jul 17, 2013

Of course, there is no problem at all.

Thanks.

timowest added a commit that referenced this issue Jul 17, 2013
@timowest
Copy link
Member

@timowest timowest commented Jul 17, 2013

You can register the UtilUUIDType for specific columns. Support for type registration by type name will be added later.

@jrodalo
Copy link
Contributor Author

@jrodalo jrodalo commented Jul 17, 2013

Thanks.

@timowest
Copy link
Member

@timowest timowest commented Jul 29, 2013

Released in 3.2.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants