From: Haris P. (JIRA) <no...@at...> - 2006-02-04 11:33:45
|
last hibernate-tools don't make foreign key in Derby ---------------------------------------------------- Key: HBX-573 URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-573 Project: Hibernate Tools Type: Bug Reporter: Haris Peco hibernate-tools beta4 +, derby Hi, bug is in JDBCReader.java line 463 Table table = dbs.addTable(quote(getSchemaForModel(schemaName)), getCatalogForModel(catalogName), quote(tableName)); when schema = default_schema then getSchemaForModel(schemaName)) return null i try remove default_schema and then tools don't nullify catalog ="" (derby driver return catalog="" in getExportedKeys) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Max R. A. (JIRA) <no...@at...> - 2006-02-06 02:52:19
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HBX-573?page=comments#action_21997 ] Max Rydahl Andersen commented on HBX-573: ----------------------------------------- so derby drivers has a bug - correct? they should not return "" in catalog if they don't respond to default catalogs. or am i missing some detail here ? > last hibernate-tools don't make foreign key in Derby > ---------------------------------------------------- > > Key: HBX-573 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-573 > Project: Hibernate Tools > Type: Bug > Reporter: Haris Peco > > > hibernate-tools beta4 +, derby > Hi, > bug is in > JDBCReader.java line 463 > Table table = dbs.addTable(quote(getSchemaForModel(schemaName)), > getCatalogForModel(catalogName), quote(tableName)); > when schema = default_schema then getSchemaForModel(schemaName)) return null > i try remove default_schema and then tools don't nullify catalog ="" (derby driver return > catalog="" in getExportedKeys) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Max R. A. (JIRA) <no...@at...> - 2006-02-07 20:55:48
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HBX-573?page=comments#action_22043 ] Max Rydahl Andersen commented on HBX-573: ----------------------------------------- could you provide a patch with this change ? thank you > last hibernate-tools don't make foreign key in Derby > ---------------------------------------------------- > > Key: HBX-573 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-573 > Project: Hibernate Tools > Type: Bug > Reporter: Haris Peco > > > hibernate-tools beta4 +, derby > Hi, > bug is in > JDBCReader.java line 463 > Table table = dbs.addTable(quote(getSchemaForModel(schemaName)), > getCatalogForModel(catalogName), quote(tableName)); > when schema = default_schema then getSchemaForModel(schemaName)) return null > i try remove default_schema and then tools don't nullify catalog ="" (derby driver return > catalog="" in getExportedKeys) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Max R. A. (JIRA) <no...@at...> - 2006-07-08 00:11:57
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HBX-573?page=all ] Max Rydahl Andersen closed HBX-573: ----------------------------------- Resolution: Cannot Reproduce i tried with latest derby (10.1.3.1) and i don't see this. they return "" but also respond to "" accordingly. > last hibernate-tools don't make foreign key in Derby > ---------------------------------------------------- > > Key: HBX-573 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-573 > Project: Hibernate Tools > Type: Bug > Reporter: Haris Peco > > > hibernate-tools beta4 +, derby > Hi, > bug is in > JDBCReader.java line 463 > Table table = dbs.addTable(quote(getSchemaForModel(schemaName)), > getCatalogForModel(catalogName), quote(tableName)); > when schema = default_schema then getSchemaForModel(schemaName)) return null > i try remove default_schema and then tools don't nullify catalog ="" (derby driver return > catalog="" in getExportedKeys) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |