Jump to: navigation, search

Dali Provisional API Changes

Dali 2.1 Provisional API Changes

2.1M2

org.eclipse.jpt.core

Removed

Column.getJavaFieldName()
Column.matchesJavaFieldName(String)

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