Comments (9)
Done: #1809
from blaze-persistence.
Hi there.
Nobody requested support for CockroachDB yet, so that's why Blaze-Persistence has no built-in support :)
We can treat it like PostgreSQL for the purpose of function registration and so on, but since it takes a lot of time and effort to setup and maintain automated testing, I hope you understand that there will never be "first class" support like for other databases. This would be a best effort thing.
from blaze-persistence.
Hi! Ok - what I could try to do is to check how it does with PG set as dialect. However it seems to auto-detect the dialect from the JPA one? Is there a way to override the auto-detected dialect?
from blaze-persistence.
The Hibernate integration detects the database based on the configured dialect. If your dialect extends the PostgreSQLDialect
, it is considered a PostgreSQL variant.
from blaze-persistence.
That's what I expected - but I use CockroachDB192Dialect
which is not derived from PostgreSQLDialect
. Therefore, I'll try to find a way to set the dialect for blaze persistence manually, if there is one at all?
from blaze-persistence.
It seems that we detect CockroachDB already, but don't do functions registrations for it yet. See https://github.com/Blazebit/blaze-persistence/blob/main/integration/hibernate-base/src/main/java/com/blazebit/persistence/integration/hibernate/base/function/AbstractHibernateEntityManagerFactoryIntegrator.java#L185C26-L185C26
I'd very much appreciate if you could create a PR that just copies all the lines containing "postgresql"
and replaces with "cockroach"
: https://github.com/Blazebit/blaze-persistence/blob/main/core/impl/src/main/java/com/blazebit/persistence/impl/CriteriaBuilderConfigurationImpl.java#L582
from blaze-persistence.
excatly, that's what i thought could work...
from blaze-persistence.
Updated according suggestions
from blaze-persistence.
Fixed via 178a9f6
from blaze-persistence.
Related Issues (20)
- Filtering the collection on Multiset FetchStrategy - array predicate syntax HOT 2
- Warning like "Could not register the function xxx" HOT 2
- Incompatibility with Spring 6.1(.1)
- Blaze Persistence 1.6.10 is no longer compatible with spring boot 3.2.0 HOT 1
- Error mapping Map<String, Integer> with JdbcTypeCode(JSON) HOT 6
- Repository should only allow sorting by entity and entity view attribute paths
- EntityView calls method Assert.notNull(Object object) that was removed in SpringFramework 6.1.x HOT 6
- saveFull throws exception on entity without mutable attributes HOT 2
- EntityViewAwareMappingJackson2HttpMessageConverter doesn't use Spring Boot's ObjectMapper
- Collection insert broken on Hibernate 6.4.2+
- Support for HATEOAS RepresentationModel link relation naming HOT 2
- conversion of LocalDate to entityview is failing HOT 8
- Support for javax/jakarta.validation in entity views HOT 4
- Entity view collection not respecting hibernate's OrderColumn
- Query annotations for EntityViews in EntityViewRepository does not work HOT 3
- SQL Server Dialect should use varchar(max) instead of varchar
- Limit annotation with multiple count queries from Mapping with SIZE broken HOT 2
- Limit Annotation with FetchStrategy.SUBSELECT and Lateral Join support issues HOT 4
- Spring Boot error with PUT operation and Entity View
- Deserializing EntityViews with jackson in Springboot yields null instead of an EntityView HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blaze-persistence.