Good cheatsheet!
Quick question. When you labeled the field this way:
@Lob private String name;
it's said that the DDL was as follows:
create table unlimited_text ( id int8 not null, name text, primary key (id) )
Shouldn't the type of the name filed be oid in that case?
name
oid
Probably it should be. In my case it is oid, not text. I use Hibernate 5.6.9.Final and PostgreSQL driver 42.3.5
Thanks Andrey, yes seems it has been finally fixed in 5.6.2
hibernate.atlassian.net/browse/HHH...
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Good cheatsheet!
Quick question. When you labeled the field this way:
it's said that the DDL was as follows:
Shouldn't the type of the
name
filed beoid
in that case?Probably it should be. In my case it is oid, not text. I use Hibernate 5.6.9.Final and PostgreSQL driver 42.3.5
Thanks Andrey, yes seems it has been finally fixed in 5.6.2
hibernate.atlassian.net/browse/HHH...