File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
spring-data-jpa/src/main/java/org/springframework/data/jpa/repository/aot Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 4343import org .hibernate .jpa .boot .internal .EntityManagerFactoryBuilderImpl ;
4444import org .hibernate .jpa .boot .internal .PersistenceUnitInfoDescriptor ;
4545import org .hibernate .query .common .TemporalUnit ;
46+ import org .hibernate .sql .ast .SqlAstTranslatorFactory ;
47+ import org .hibernate .sql .ast .spi .StandardSqlAstTranslatorFactory ;
4648import org .jspecify .annotations .NullUnmarked ;
4749import org .jspecify .annotations .Nullable ;
4850import org .slf4j .Logger ;
@@ -205,6 +207,12 @@ public SequenceSupport getSequenceSupport() {
205207 return ANSISequenceSupport .INSTANCE ;
206208 }
207209
210+ @ Override
211+ public SqlAstTranslatorFactory getSqlAstTranslatorFactory () {
212+ // javadoc implies null would trigger default which is not the case
213+ return new StandardSqlAstTranslatorFactory ();
214+ }
215+
208216 @ Override
209217 @ SuppressWarnings ("deprecation" )
210218 public String timestampdiffPattern (TemporalUnit unit , TemporalType fromTemporalType , TemporalType toTemporalType ) {
You can’t perform that action at this time.
0 commit comments