Enrique Gonzalez Martinez (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *created* an issue
Bean Validation (
https://hibernate.atlassian.net/browse/BVAL?atlOrigin=eyJpIjoiNzllYjAyMjA...
) / Improvement (
https://hibernate.atlassian.net/browse/BVAL-755?atlOrigin=eyJpIjoiNzllYjA...
) BVAL-755 (
https://hibernate.atlassian.net/browse/BVAL-755?atlOrigin=eyJpIjoiNzllYjA...
) Allow activation typedef depending on flags/dialect (
https://hibernate.atlassian.net/browse/BVAL-755?atlOrigin=eyJpIjoiNzllYjA...
)
Issue Type: Improvement Assignee: Unassigned Created: 25/Jun/2020 04:05 AM Priority: Major
Reporter: Enrique Gonzalez Martinez (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
Currently jBPM/RHPAM supports databases provided by hibernate orm. Currently we are facing
problems with just one of the dialects: postgreSQL.
At present this dialects supports oid which is a problem in certain enviornments like AWS,
also some users are reluctant to use this as blob to store some of the data we use at
jBPM.
While the use of @typedef could fix our problem AFAIK this would affect all dialects and I
could not find a way to restrict or activate only under certains flags (var env) or
circunstances (e.g. certain dialect)
It would be perfect to be able to set some sort of condition when some typedef applies. if
that is not possible I would like to know if there is a workaround to provide a way
programatically or not to set a type def.
This would allow us to migrate to a new schema based on bytea instead of oid eventually to
all users.
After dicussion we are trying to avoid the subclassing of the dialect as it would tied the
user to a jbpm solution and not really a OOTB solution provided by hibernate team.
Keep in mind that we use hibernate through JPA spec.
(
https://hibernate.atlassian.net/browse/BVAL-755#add-comment?atlOrigin=eyJ...
) Add Comment (
https://hibernate.atlassian.net/browse/BVAL-755#add-comment?atlOrigin=eyJ...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100130- sha1:74b7c6b )