]
Juraci Paixao Krohling reassigned HSEARCH-270:
----------------------------------------------
Assignee: Juraci Paixao Krohling
MSSQL - Nullable Foreign PK
---------------------------
Key: HSEARCH-270
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-270
Project: Hibernate Search
Issue Type: Bug
Environment: MS SQL Server 2005, test suite (test
org.hibernate.search.test.embedded.EmbeddedTest)
Reporter: Juraci Paixao Krohling
Assignee: Juraci Paixao Krohling
Model org.hibernate.search.test.embedded.Product needs to have its "CUST_NAME"
as "nullable=false". MSSQL2005 refuses to create it on its current status
because it is being marked as nullable.
16:32:31,150 ERROR SchemaExport:348 - Unsuccessful: create table [Product_Order]
(Product_id int not null, [orders_id] int not null, CUST_NAME varchar(255) null, primary
key (Product_id, CUST_NAME))
16:32:31,151 ERROR SchemaExport:349 - Cannot define PRIMARY KEY constraint on nullable
column in table 'Product_Order'.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: