Project

General

Profile

« Previous | Next » 

Revision 0f9d4e5a

Added by Andreas Müller about 11 years ago

Allow access to hibernate dialect via DatabaseTypeEnum, use this for foreign key handling in TableCreator and ColumnAdder/Changer

View differences:

cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/database/types/IDatabaseType.java
11 11

  
12 12
import javax.sql.DataSource;
13 13

  
14
import org.hibernate.dialect.Dialect;
15

  
14 16
import eu.etaxonomy.cdm.database.ICdmDataSource;
15 17

  
16 18
/**
......
37 39
	public int getDefaultPort();
38 40
	
39 41
	/**
42
	 * Returns the {@link Dialect hibernate dialect}
43
	 * @return
44
	 */
45
	public Dialect getHibernateDialect();
46
	
47
	/**
48
	 * Returns the canoncial (full path) name of the {@link Dialect hibernate dialect} class
40 49
	 * @return
41 50
	 */
42
	public String getHibernateDialect();
51
	public String getHibernateDialectCanonicalName();
43 52
	
44 53
	/**
45 54
	 * Returns the connection String for the given parameters, using default port

Also available in: Unified diff