Jump to: navigation, search

Difference between revisions of "Dali Provisional API Changes"

(org.eclipse.jpt.core)
(org.eclipse.jpt.core)
Line 15: Line 15:
 
JpaDataSource.schemaNames()
 
JpaDataSource.schemaNames()
  
JpaProject.
+
context.Table.connectionProfileIsActive()
 +
 
 +
context.TableGenerator.getDbSchema()
 +
 
 +
context.java.JavaColumn.connectionProfileIsActive()
 +
 
 +
context.java.JavaJoinColumn.connectionProfileIsActive()
 
</source>
 
</source>
  
Line 21: Line 27:
  
 
<source lang="java">
 
<source lang="java">
JpaProject.Config.getUserOverrideDefaultCatalogName()
+
JpaProject.Config.getUserOverrideDefaultCatalog()
 
JpaProject.USER_OVERRIDE_DEFAULT_CATALOG_PROPERTY
 
JpaProject.USER_OVERRIDE_DEFAULT_CATALOG_PROPERTY
 
JpaProject.getDefaultCatalog()
 
JpaProject.getDefaultCatalog()
Line 38: Line 44:
 
context.Generator.getDbSchema()
 
context.Generator.getDbSchema()
 
context.Generator.getDbSchemaContainer()
 
context.Generator.getDbSchemaContainer()
 +
 +
context.JpaContextNode.getContextDefaultDbCatalog()
 +
context.JpaContextNode.getContextDefaultDbSchema()
 +
context.JpaContextNode.getContextDefaultDbSchemaContainer()
 +
 +
context.PersistentType.ancestors()
 +
 +
context.RelationshipMapping.getJoinTableDefaultName()
 +
 +
context.Table.getDbCatalog()
 +
context.Table.getDbSchemaContainer()
 +
context.Table.hasResolvedCatalog()
 +
 +
context.java.JavaEntity.addSpecifiedSecondaryTable()
 +
 +
context.java.JavaPersistentAttribute.mappingIsDefault(JavaAttributeMapping)
 +
 +
context.orm.EntityMappings.getDbCatalog()
 +
context.orm.EntityMappings.getDbSchema()
 +
context.orm.EntityMappings.getDbSchemaContainer()
 +
 +
context.orm.OrmEntity.addSpecifiedSecondaryTable()
 +
 +
context.orm.OrmTable.hasSpecifiedResourceTable()
 +
 +
context.orm.PersistenceUnitDefaults.getDbCatalog()
 +
context.orm.PersistenceUnitDefaults.getDbSchema()
 +
context.orm.PersistenceUnitDefaults.getDbSchemaContainer()
 +
 +
resource.java.SequenceGeneratorAnnotation.sequenceNameTouches(int, CompilationUnit)
 +
resource.java.TableGeneratorAnnotation.catalogTouches(int, CompilationUnit)
 +
resource.java.TableGeneratorAnnotation.pkColumnNameTouches(int, CompilationUnit)
 +
resource.java.TableGeneratorAnnotation.pkColumnValueTouches(int, CompilationUnit)
 +
resource.java.TableGeneratorAnnotation.schemaTouches(int, CompilationUnit)
 +
resource.java.TableGeneratorAnnotation.tableTouches(int, CompilationUnit)
 +
resource.java.TableGeneratorAnnotation.valueColumnNameTouches(int, CompilationUnit)
 
</source>
 
</source>
  
Line 45: Line 87:
 
JpaDataSource.getDatabaseObjectNamed(T[], String) -> selectDatabaseObjectForIdentifier(T[], String)
 
JpaDataSource.getDatabaseObjectNamed(T[], String) -> selectDatabaseObjectForIdentifier(T[], String)
  
 +
JpaProject.Config.getUserOverrideDefaultSchemaName() -> getUserOverrideDefaultSchema()
 
JpaProject.USER_OVERRIDE_DEFAULT_SCHEMA_NAME_PROPERTY -> USER_OVERRIDE_DEFAULT_SCHEMA_PROPERTY
 
JpaProject.USER_OVERRIDE_DEFAULT_SCHEMA_NAME_PROPERTY -> USER_OVERRIDE_DEFAULT_SCHEMA_PROPERTY
 
JpaProject.getUserOverrideDefaultSchemaName() -> getUserOverrideDefaultSchema()
 
JpaProject.getUserOverrideDefaultSchemaName() -> getUserOverrideDefaultSchema()
Line 51: Line 94:
 
context.BaseJoinColumn.Owner.getDbReferencedColumnTable() -> getReferencedColumnDbTable()
 
context.BaseJoinColumn.Owner.getDbReferencedColumnTable() -> getReferencedColumnDbTable()
 
context.BaseJoinColumn.getDbReferencedColumn() -> getReferencedDbColumn()
 
context.BaseJoinColumn.getDbReferencedColumn() -> getReferencedDbColumn()
 +
 +
context.TypeMapping.getTableName() -> getPrimaryTableName()
 +
 +
context.persistence.PersistenceUnit.DEFAULT_EXCLUDE_UNLISTED_CLASSED_PROPERTY -> DEFAULT_EXCLUDE_UNLISTED_CLASSES_PROPERTY
 +
context.persistence.PersistenceUnit.IMPLIED_CLASS_REF_LIST -> IMPLIED_CLASS_REFS_LIST
 +
context.persistence.PersistenceUnit.SPECIFIED_CLASS_REF_LIST -> SPECIFIED_CLASS_REFS_LIST
 +
context.persistence.PersistenceUnit.SPECIFIED_EXCLUDE_UNLISTED_CLASSED_PROPERTY -> SPECIFIED_EXCLUDE_UNLISTED_CLASSES_PROPERTY
 +
context.persistence.PersistenceUnit.SPECIFIED_MAPPING_FILE_REF_LIST -> SPECIFIED_MAPPING_FILE_REFS_LIST
 
</source>
 
</source>
  

Revision as of 23:24, 11 September 2008

Dali 2.1 Provisional API Changes

2.1M2

org.eclipse.jpt.core

Removed

JpaDataSource.catalogNames()
JpaDataSource.getCatalogNamed(String)
JpaDataSource.getDefaultCatalog()
JpaDataSource.getDefaultSchema()
JpaDataSource.getSchemaNamed(String)
JpaDataSource.schemaNames()
 
context.Table.connectionProfileIsActive()
 
context.TableGenerator.getDbSchema()
 
context.java.JavaColumn.connectionProfileIsActive()
 
context.java.JavaJoinColumn.connectionProfileIsActive()

Added

JpaProject.Config.getUserOverrideDefaultCatalog()
JpaProject.USER_OVERRIDE_DEFAULT_CATALOG_PROPERTY
JpaProject.getDefaultCatalog()
JpaProject.getDefaultDbCatalog()
JpaProject.getDefaultDbSchema()
JpaProject.getDefaultDbSchemaContainer()
JpaProject.getUserOverrideDefaultCatalog()
JpaProject.setUserOverrideDefaultCatalog(String)
 
context.Entity.addSpecifiedSecondaryTable()
context.Entity.getDefaultCatalog()
context.Entity.getDefaultSchema()
context.Entity.getDefaultTableName()
 
context.Generator.getDbCatalog()
context.Generator.getDbSchema()
context.Generator.getDbSchemaContainer()
 
context.JpaContextNode.getContextDefaultDbCatalog()
context.JpaContextNode.getContextDefaultDbSchema()
context.JpaContextNode.getContextDefaultDbSchemaContainer()
 
context.PersistentType.ancestors()
 
context.RelationshipMapping.getJoinTableDefaultName()
 
context.Table.getDbCatalog()
context.Table.getDbSchemaContainer()
context.Table.hasResolvedCatalog()
 
context.java.JavaEntity.addSpecifiedSecondaryTable()
 
context.java.JavaPersistentAttribute.mappingIsDefault(JavaAttributeMapping)
 
context.orm.EntityMappings.getDbCatalog()
context.orm.EntityMappings.getDbSchema()
context.orm.EntityMappings.getDbSchemaContainer()
 
context.orm.OrmEntity.addSpecifiedSecondaryTable()
 
context.orm.OrmTable.hasSpecifiedResourceTable()
 
context.orm.PersistenceUnitDefaults.getDbCatalog()
context.orm.PersistenceUnitDefaults.getDbSchema()
context.orm.PersistenceUnitDefaults.getDbSchemaContainer()
 
resource.java.SequenceGeneratorAnnotation.sequenceNameTouches(int, CompilationUnit)
resource.java.TableGeneratorAnnotation.catalogTouches(int, CompilationUnit)
resource.java.TableGeneratorAnnotation.pkColumnNameTouches(int, CompilationUnit)
resource.java.TableGeneratorAnnotation.pkColumnValueTouches(int, CompilationUnit)
resource.java.TableGeneratorAnnotation.schemaTouches(int, CompilationUnit)
resource.java.TableGeneratorAnnotation.tableTouches(int, CompilationUnit)
resource.java.TableGeneratorAnnotation.valueColumnNameTouches(int, CompilationUnit)

Renamed

JpaDataSource.getDatabaseObjectNamed(T[], String) -> selectDatabaseObjectForIdentifier(T[], String)
 
JpaProject.Config.getUserOverrideDefaultSchemaName() -> getUserOverrideDefaultSchema()
JpaProject.USER_OVERRIDE_DEFAULT_SCHEMA_NAME_PROPERTY -> USER_OVERRIDE_DEFAULT_SCHEMA_PROPERTY
JpaProject.getUserOverrideDefaultSchemaName() -> getUserOverrideDefaultSchema()
JpaProject.setUserOverrideDefaultSchemaName(String) -> setUserOverrideDefaultSchema(String)
 
context.BaseJoinColumn.Owner.getDbReferencedColumnTable() -> getReferencedColumnDbTable()
context.BaseJoinColumn.getDbReferencedColumn() -> getReferencedDbColumn()
 
context.TypeMapping.getTableName() -> getPrimaryTableName()
 
context.persistence.PersistenceUnit.DEFAULT_EXCLUDE_UNLISTED_CLASSED_PROPERTY -> DEFAULT_EXCLUDE_UNLISTED_CLASSES_PROPERTY
context.persistence.PersistenceUnit.IMPLIED_CLASS_REF_LIST -> IMPLIED_CLASS_REFS_LIST
context.persistence.PersistenceUnit.SPECIFIED_CLASS_REF_LIST -> SPECIFIED_CLASS_REFS_LIST
context.persistence.PersistenceUnit.SPECIFIED_EXCLUDE_UNLISTED_CLASSED_PROPERTY -> SPECIFIED_EXCLUDE_UNLISTED_CLASSES_PROPERTY
context.persistence.PersistenceUnit.SPECIFIED_MAPPING_FILE_REF_LIST -> SPECIFIED_MAPPING_FILE_REFS_LIST

2.1M1

org.eclipse.jpt.db

Removed

Column.getJavaFieldName()
Column.matchesJavaFieldName(String)
 
ConnectionProfile.getDefaultCatalog()
  moved to Database
ConnectionProfile.getDefaultSchema()
  moved to Database
ConnectionProfile.isNull()
 
ConnectionProfileRepository.connectionProfiles()
ConnectionProfileRepository.connectionProfilesSize()
ConnectionProfileRepository.containsConnectionProfileNamed(String)
ConnectionProfileRepository.connectionProfileNamed(String)
 
ConnectionProfileListener.connectionProfileReplaced(ConnectionProfile, ConnectionProfile)
ConnectionProfileListener.connectionProfileChanged(ConnectionProfile)
 
Database.containsCatalogNamed(String)
Database.getDtpDefinition()
Database.isCaseSensitive()
 
ForeignKey.defaultMatchesJavaFieldName(String)
ForeignKey.getJavaFieldName()
ForeignKey.isDefaultFor(String)
 
Schema.containsSequenceNamed(String)
Schema.containsTableNamed(String)
 
SchemaContainer.containsSchemaNamed(String)
 
Table.containsColumnNamed(String)
Table.foreignKeyBaseColumnsContains(Column)
Table.getJavaFieldName()
Table.getShortJavaClassName()
Table.matchesShortJavaClassName()
Table.primaryKeyColumnsContains(Column)

Renamed

ConnectionProfile.getUrl() -> getURL()
 
ConnectionProfileRepository -> ConnectionProfileFactory
 
Database.catalogNamed(String) -> Database.getCatalogNamed(String)
 
ForeignKey.ColumnPair.baseColumn() -> ForeignKey.ColumnPair.getBaseColumn()
ForeignKey.ColumnPair.referencedColumn() -> ForeignKey.ColumnPair.getReferencedColumn()
ForeignKey.columnPair() -> ForeignKey.getColumnPair()
 
JptDbPlugin.getConnectionProfileRepository() -> JptDbPlugin.getConnectionProfileFactory()
 
Schema.sequenceNamed(String) -> Schema.getSequenceNamed(String)
Schema.tableNamed(String) -> Schema.getTableNamed(String)
 
SchemaContainer.schemaNamed(String) -> SchemaContainer.getSchemaNamed(String)
 
Table.columnNamed(String) -> Table.getColumnNamed(String)
Table.primaryKeyColumn() -> Table.getPrimaryKeyColumn()

Added

ConnectionProfileListener.connectionProfileAdded(String)
ConnectionProfileListener.connectionProfileRemoved(String)
ConnectionProfileListener.connectionProfileRenamed(String, String)

org.eclipse.jpt.core

Removed

JpaDataSource.hasAConnection()
JpaFactory.hasRelevantContent() -> see JpaPlatform.buildJpaFile(JpaProject, IFile)
 
resource.orm.XmlBasic.isLob() -> see XmlConvertibleMapping
resource.orm.XmlBasic.setLob(boolean) -> see XmlConvertibleMapping
resource.orm.XmlBasic.getTemporal() -> see XmlConvertibleMapping
resource.orm.XmlBasic.setTemporal(TemporalType) -> see XmlConvertibleMapping
resource.orm.XmlBasic.getEnumerated() -> see XmlConvertibleMapping
resource.orm.XmlBasic.setEnumerated(EnumType) -> see XmlConvertibleMapping
resource.orm.XmlId.getTemporal() -> see XmlConvertibleMapping
resource.orm.XmlId.setTemporal(TemporalType) -> see XmlConvertibleMapping
resource.orm.XmlVersion.getTemporal() -> see XmlConvertibleMapping
resource.orm.XmlVersion.setTemporal(TemporalType) -> see XmlConvertibleMapping
 
context.BasicMapping.isLob() -> see ConvertibleMapping
context.BasicMapping.setLob(boolean) -> see ConvertibleMapping
context.BasicMapping.getEnumerated() -> see ConvertibleMapping
context.BasicMapping.getDefaultEnumerated() -> see ConvertibleMapping
context.BasicMapping.getSpecifiedEnumerated() -> see ConvertibleMapping
context.BasicMapping.setSpecifiedEnumerated(EnumType) -> see ConvertibleMapping
context.ColumnMapping.getTemporal() -> see ConvertibleMapping
context.ColumnMapping.setTemporal(TemporalType) -> see ConvertibleMapping
context.IdMapping now implements ConvertibleMapping
context.VersionMapping now implements ConvertibleMapping
context.RelationshipMapping.targetEntityIsValid(String)
 
context.java.JavaPersistentAttribute.initializeFromResource(JavaResourcePersistentAttribute)
 
context.orm.OrmGeneratedValue.initialize(XmlGeneratedValue)
context.orm.OrmJoinColumn.initialize(XmlJoinColumn)
context.orm.OrmNamedNativeQuery.initialize(XmlNamedNativeQuery)
context.orm.OrmNamedQuery.initialize(XmlNamedQuery)
context.orm.OrmPrimaryKeyJoinColumn.initialize(XmlPrimaryKeyJoinColumn)
context.orm.OrmQueryHint.initialize(XmlQueryHint)
context.orm.OrmSequenceGenerator.initialize(XmlSequenceGenerator)
context.orm.OrmTableGenerator.initialize(XmlTableGenerator)

Renamed

JpaPlatform.defaultJavaAttributeMappingKey(JavaPersistentAttribute) -> JpaPlatform.getDefaultJavaAttributeMappingKey(JavaPersistentAttribute)
JpaProject.getJavaPersistentTypeResource()-> JpaProject.getJavaResourcePersistentType()
 
resource.java.JavaResourceNode.updateFromJava(CompilationUnit) -> resource.java.JavaResourceNode.update(CompilationUnit)
resource.java.PrimaryKeyJoinColumns -> resource.java.PrimaryKeyJoinColumnsAnnotation
resource.java.JavaAssociationOverride.initializeFromResource(AssociationOverrideAnnotation) -> resource.java.JavaAssociationOverride.initialize(AssociationOverrideAnnotation)
resource.java.JavaAttributeMapping.initializeFromResource(JavaResourcePersistentAttribute) -> resource.java.JavaAttributeMapping.initialize(JavaResourcePersistentAttribute)
resource.java.JavaAttributeOverride.initializeFromResource(AttributeOverrideAnnotation) -> resource.java.JavaAttributeOverride.initialize(AttributeOverrideAnnotation)
resource.java.JavaColumn.initializeFromResource(ColumnAnnotation) -> resource.java.JavaColumn.initialize(ColumnAnnotation)
resource.java.JavaDiscriminatorColumn.initializeFromResource(JavaResourcePersistentMember) -> resource.java.JavaDiscriminatorColumn.initialize(JavaResourcePersistentMember)
resource.java.JavaGeneratedValue.initializeFromResource(GeneratedValueAnnotation) -> resource.java.JavaGeneratedValue.initialize(GeneratedValueAnnotation)
resource.java.JavaJoinColumn.initializeFromResource(JoinColumnAnnotation) -> resource.java.JavaJoinColumn.initialize(JoinColumnAnnotation)
resource.java.JavaJoinTable.initializeFromResource(JavaResourcePersistentAttribute) -> resource.java.JavaJoinTable.initialize(JavaResourcePersistentAttribute)
resource.java.JavaNamedNativeQuery.initializeFromResource(NamedNativeQueryAnnotation) -> resource.java.JavaNamedNativeQuery.initialize(NamedNativeQueryAnnotation)
resource.java.JavaNamedQuery.initializeFromResource(NamedQueryAnnotation) -> resource.java.JavaNamedQuery.initialize(NamedQueryAnnotation)
resource.java.JavaPrimaryKeyJoinColumn.initializeFromResource(PrimaryKeyJoinColumnAnnotation) -> resource.java.JavaPrimaryKeyJoinColumn.initialize(PrimaryKeyJoinColumnAnnotation)
resource.java.JavaQueryHint.initializeFromResource(QueryHintAnnotation) -> resource.java.JavaQueryHint.initialize(QueryHintAnnotation)
resource.java.JavaSecondaryTable.initializeFromResource(SecondaryTableAnnotation) -> resource.java.JavaSecondaryTable.initialize(SecondaryTableAnnotation)
resource.java.JavaSequenceGenerator.initializeFromResource(SequenceGeneratorAnnotation) -> resource.java.JavaSequenceGenerator.initialize(SequenceGeneratorAnnotation)
resource.java.JavaTable.initializeFromResource(JavaResourcePersistentMember) -> resource.java.JavaTable.initialize(JavaResourcePersistentMember)
resource.java.JavaTableGenerator.initializeFromResource(TableGeneratorAnnotation) -> resource.java.JavaTableGenerator.initialize(TableGeneratorAnnotation)
resource.java.JavaTypeMapping.initializeFromResource(JavaResourcePersistentType) -> resource.java.JavaTypeMapping.initialize(JavaResourcePersistentType)
 
context.java.JavaColumn.Owner.getColumnResource() -> context.java.JavaColumn.Owner.getResourceColumn()
 
context.orm.OrmColumn.Owner.getColumnResource() -> context.orm.OrmColumn.Owner.getResourceColumn()
context.orm.OrmColumn.Owner.addColumnResource() -> context.orm.OrmColumn.Owner.addResourceColumn()
context.orm.OrmColumn.Owner.removeColumnResource() -> context.orm.OrmColumn.Owner.removeResourceColumn()


Added

JpaPlatform.getConnectionProfileFactory()
JpaPlatform.getDatabaseFinder()
JpaPlatform.getEntityGeneratorDatabaseAnnotationNameBuilder()


Changed

JpaFactory.buildOrmPrimaryKeyJoinColumn(OrmJpaContextNode, OrmBaseJoinColumn.Owner) -> JpaFactory.buildOrmPrimaryKeyJoinColumn(OrmJpaContextNode, OrmBaseJoinColumn.Owner, XmlPrimaryKeyJoinColumn)
JpaFactory.buildOrmJoinColumn(OrmJpaContextNode, OrmJoinColumn.Owner) -> JpaFactory.buildOrmJoinColumn(OrmJpaContextNode, OrmJoinColumn.Owner, XmlJoinColumn)
JpaFactory.buildOrmGeneratedValue(OrmJpaContextNode) -> JpaFactory.buildOrmGeneratedValue(OrmJpaContextNode, XmlGeneratedValue)
JpaFactory.buildOrmSequenceGenerator(OrmJpaContextNode) -> JpaFactory.buildOrmSequenceGenerator(OrmJpaContextNode, XmlSequenceGenerator)
JpaFactory.buildOrmTableGenerator(OrmJpaContextNode) -> JpaFactory.buildOrmTableGenerator(OrmJpaContextNode, XmlTableGenerator)
JpaFactory.buildOrmNamedNativeQuery(OrmJpaContextNode) -> JpaFactory.buildOrmNamedNativeQuery(OrmJpaContextNode, XmlNamedNativeQuery)
JpaFactory.buildOrmNamedQuery(OrmJpaContextNode) -> JpaFactory.buildOrmNamedQuery(OrmJpaContextNode, XmlNamedQuery)
JpaFactory.buildOrmQueryHint(OrmQuery) -> JpaFactory.buildOrmQueryHint(OrmJpaContextNode, XmlQueryHint)
JpaFactory.buildJavaPersistentAttribute(JavaPersistentType) -> JpaFactory.buildJavaPersistentAttribute(JavaPersistentType, JavaResourcePersistentAttribute)
 
context.java.JavaPersistentAttribute.update(JavaResourcePersistentAttribute) -> context.java.JavaPersistentAttribute.update()

org.eclipse.jpt.ui

Changed

details.JpaComposite and details.JpaPageComposite are no longer generic types, was unnecessary