-
Notifications
You must be signed in to change notification settings - Fork 52
chore: Support PG Dialect in Hibernate #2238
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
Conversation
src/main/resources/com/google/cloud/spanner/jdbc/postgresql/DatabaseMetaData_GetColumns.sql
Show resolved
Hide resolved
02d584b to
a5a3446
Compare
a5a3446 to
7964273
Compare
| * @return true if type name matches current type name or matches with one of postgres aliases | ||
| * or if it matches equivalent postgres type. | ||
| */ | ||
| public boolean matches(String typeName) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this need to be public?
|
|
||
| public abstract Type getSpannerType(); | ||
|
|
||
| public Set<String> getAliases() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we rename this to getPostgreSQLAliases()? The matches(..) method below confused me at first, and that was partly because it seemed like this could be any type of alias for the type.
character varying[]is actually converted to Postgrestexttype Ref.typeNamecan be from Postgres dialect equivalent.