java.lang.Object
org.litebridge.orm.nativesql.NativeSqlCache
Cache for parsed named parameter-based queries.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCachedSql(String rawSql) Retrieves a cached parsed SQL statement for the given raw SQL string.
-
Constructor Details
-
NativeSqlCache
public NativeSqlCache()
-
-
Method Details
-
getCachedSql
Retrieves a cached parsed SQL statement for the given raw SQL string.If the SQL statement is not found in the cache, it is parsed and added to the cache.
- Parameters:
rawSql- The raw SQL string to retrieve or parse.- Returns:
- The parsed SQL statement.
-