Revision fff0e840
Added by Andreas Müller about 8 years ago
cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/persistence/hibernate/TableGenerator.java | ||
---|---|---|
57 | 57 |
*/ |
58 | 58 |
//TODO this class has been moved to cdmlib-persistence preliminarily. It should be moved to |
59 | 59 |
//cdmlib-test again as it should be used only in test. Currently this is not possible because |
60 |
//sessionFactory bean has a dependsOn relationship to this class |
|
60 |
//sessionFactory bean has a dependsOn relationship to this class and this creates problems in remote-webapp |
|
61 |
//as the been is not available. |
|
61 | 62 |
//see also TableGeneratorGlobalOverride |
62 | 63 |
public class TableGenerator extends org.hibernate.id.enhanced.TableGenerator { |
63 | 64 |
|
cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/persistence/hibernate/TableGeneratorGlobalOverride.java | ||
---|---|---|
23 | 23 |
*/ |
24 | 24 |
//TODO this class has been moved to cdmlib-persistence preliminarily. It should be moved to |
25 | 25 |
//cdmlib-test again as it should be used only in test. Currently this is not possible because |
26 |
//sessionFactory bean has a dependsOn relationship to this class |
|
26 |
//sessionFactory bean has a dependsOn relationship to this class and this creates problems in remote-webapp |
|
27 |
//as the been is not available |
|
27 | 28 |
//see also TableGenerator |
28 | 29 |
@Component |
29 | 30 |
class TableGeneratorGlobalOverride { |
Also available in: Unified diff
like before