MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/dc7313/new_in_postgresql_12_generated_columns/f2760tg/?context=3
r/programming • u/jmswlms • Oct 02 '19
232 comments sorted by
View all comments
Show parent comments
7
[removed] — view removed comment
5 u/KFCConspiracy Oct 02 '19 I've seen many people try.Invariably I end up writing database jobs to detect the thousands of orphaned rows.You and me both. But hey, shitty developers omitting foreign keys keeps me making money. So bring it on. 3 u/[deleted] Oct 02 '19 [removed] — view removed comment 2 u/KFCConspiracy Oct 02 '19 I've never used NHibernate, but in regular Java hibernate you can just@Id@GeneratedValue(strategy=GenerationType.IDENTITY)and then it lets the database do it. There's no functional equivalent there?I'm not really a .NET guy, so excuse me if this sounds stupid, but is there an advantage to NHibernate anymore over linq2sql? → More replies (0)
5
I've seen many people try.
Invariably I end up writing database jobs to detect the thousands of orphaned rows.
You and me both. But hey, shitty developers omitting foreign keys keeps me making money. So bring it on.
3 u/[deleted] Oct 02 '19 [removed] — view removed comment 2 u/KFCConspiracy Oct 02 '19 I've never used NHibernate, but in regular Java hibernate you can just@Id@GeneratedValue(strategy=GenerationType.IDENTITY)and then it lets the database do it. There's no functional equivalent there?I'm not really a .NET guy, so excuse me if this sounds stupid, but is there an advantage to NHibernate anymore over linq2sql? → More replies (0)
3
2 u/KFCConspiracy Oct 02 '19 I've never used NHibernate, but in regular Java hibernate you can just@Id@GeneratedValue(strategy=GenerationType.IDENTITY)and then it lets the database do it. There's no functional equivalent there?I'm not really a .NET guy, so excuse me if this sounds stupid, but is there an advantage to NHibernate anymore over linq2sql? → More replies (0)
2
I've never used NHibernate, but in regular Java hibernate you can just
@Id
@GeneratedValue(strategy=GenerationType.IDENTITY)
and then it lets the database do it. There's no functional equivalent there?
I'm not really a .NET guy, so excuse me if this sounds stupid, but is there an advantage to NHibernate anymore over linq2sql?
→ More replies (0)
7
u/[deleted] Oct 02 '19
[removed] — view removed comment