File tree 3 files changed +10
-8
lines changed
plugin/runtime/org.jboss.tools.hibernate.runtime.v_6_0/src/org/jboss/tools/hibernate/runtime/v_6_0/internal
test/runtime/org.jboss.tools.hibernate.runtime.v_6_0.test/src/org/jboss/tools/hibernate/runtime/v_6_0/internal
3 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 1
1
.project
2
2
.classpath
3
+ .java-version
3
4
.settings /
4
5
lib /
5
6
target /
Original file line number Diff line number Diff line change 15
15
import org .jboss .tools .hibernate .runtime .spi .IHQLCodeAssist ;
16
16
import org .jboss .tools .hibernate .runtime .spi .IHQLCompletionProposal ;
17
17
import org .jboss .tools .hibernate .runtime .spi .IHQLQueryPlan ;
18
- import org .jboss .tools .hibernate .runtime .spi .IHbm2DDLExporter ;
19
18
import org .jboss .tools .hibernate .runtime .spi .IHibernateMappingExporter ;
20
19
import org .jboss .tools .hibernate .runtime .spi .IJDBCReader ;
21
20
import org .jboss .tools .hibernate .runtime .spi .IJoin ;
24
23
import org .jboss .tools .hibernate .runtime .spi .IPrimaryKey ;
25
24
import org .jboss .tools .hibernate .runtime .spi .IProperty ;
26
25
import org .jboss .tools .hibernate .runtime .spi .IQuery ;
27
- import org .jboss .tools .hibernate .runtime .spi .IQueryExporter ;
28
26
import org .jboss .tools .hibernate .runtime .spi .IQueryTranslator ;
29
27
import org .jboss .tools .hibernate .runtime .spi .ISchemaExport ;
30
28
import org .jboss .tools .hibernate .runtime .spi .ISession ;
@@ -50,12 +48,6 @@ public IGenericExporter createGenericExporter(Object target) {
50
48
return new GenericExporterFacadeImpl (this , target );
51
49
}
52
50
53
- @ Override
54
- public IQueryExporter createQueryExporter (Object target ) {
55
- // TODO Auto-generated method stub
56
- return null ;
57
- }
58
-
59
51
@ Override
60
52
public ITableFilter createTableFilter (Object target ) {
61
53
// TODO Auto-generated method stub
Original file line number Diff line number Diff line change 20
20
import org .hibernate .tool .internal .export .common .GenericExporter ;
21
21
import org .hibernate .tool .internal .export .ddl .DdlExporter ;
22
22
import org .hibernate .tool .internal .export .hbm .Cfg2HbmTool ;
23
+ import org .hibernate .tool .internal .export .query .QueryExporter ;
23
24
import org .hibernate .tool .internal .reveng .strategy .OverrideRepository ;
24
25
import org .jboss .tools .hibernate .runtime .common .IFacade ;
25
26
import org .jboss .tools .hibernate .runtime .spi .IArtifactCollector ;
29
30
import org .jboss .tools .hibernate .runtime .spi .INamingStrategy ;
30
31
import org .jboss .tools .hibernate .runtime .spi .IOverrideRepository ;
31
32
import org .jboss .tools .hibernate .runtime .spi .IPersistentClass ;
33
+ import org .jboss .tools .hibernate .runtime .spi .IQueryExporter ;
32
34
import org .jboss .tools .hibernate .runtime .spi .IReverseEngineeringSettings ;
33
35
import org .jboss .tools .hibernate .runtime .spi .IReverseEngineeringStrategy ;
34
36
import org .jboss .tools .hibernate .runtime .spi .ISchemaExport ;
@@ -119,6 +121,13 @@ public void testCreateGenericExporter() {
119
121
assertSame (genericExporter , ((IFacade )facade ).getTarget ());
120
122
}
121
123
124
+ @ Test
125
+ public void testCreateQueryExporter () {
126
+ QueryExporter queryExporter = new QueryExporter ();
127
+ IQueryExporter facade = facadeFactory .createQueryExporter (queryExporter );
128
+ Assert .assertSame (queryExporter , ((IFacade )facade ).getTarget ());
129
+ }
130
+
122
131
@ Test
123
132
public void testCreateHbm2DDLExporter () {
124
133
DdlExporter ddlExporter = new DdlExporter ();
You can’t perform that action at this time.
0 commit comments