SQLserver « Default « JPA Q&A





1. Hibernate, SQL Server: How could I use default value as value from another column    stackoverflow.com

For example: I have COLUMN_PK column of type int identity(1,1) and column COLUMN_NUM pf type int, how could I define default value for COLUMN_NUM - value of COLUMN_PK? So if I ...

2. default value problem for sql server    forum.hibernate.org

Hi friends, i am using hibernate 3.0 and having a simple table in sqlserver2000, Table structure - TestMe id int PK, name char(50) null, pin int default '12345' not null Mapping is like: ...