Find Jobs
Hire Freelancers

TEXT column: Argument data type text is invalid for argument 1 of lower function

£10-20 GBP

Kapalı
İlan edilme: 3 yıldan fazla önce

£10-20 GBP

Teslimde ödenir
I currently have a repo method which is acting as a filter with pagination: Repo: @Query("SELECT e FROM DeTest e " + "WHERE [login to view URL] = '9999-12-31 00:00:00.000' " + "AND (:name is null OR LOWER ([login to view URL]) LIKE LOWER ('%' + :name+ '%')) " + "AND (:description is null OR LOWER ([login to view URL]) LIKE LOWER ('%' + :description + '%')) " + "AND (:theProblem is null OR LOWER ([login to view URL] ) LIKE LOWER ('%' + :theProblem + '%')) " ) So as shown here, I have it so when you enter a value it will change it ensuring that both uppercase values and lowercase values are displayed. However, when adding LOWER to the 'theProblem' column, it produces the error in the title: Argument data type text is invalid for argument 1 of lower function My datatype for that particular column is text, and therefore, I think the culprit of the issue. However, due to the db layout I need it to be a text. Therefore, is there anyway I could convert/cast it in the repo method for when it's called? Column: @Column(name = "the_problem", columnDefinition = "TEXT") // text rather than varchar private String theProblem; Thank you.
Proje No: 27546201

Proje hakkında

2 teklif
Uzaktan proje
Son aktiviteden bu yana geçen zaman 4 yıl önce

Biraz para mı kazanmak istiyorsunuz?

Freelancer'da teklif vermenin faydaları

Bütçenizi ve zaman çerçevenizi belirleyin
Çalışmanız için ödeme alın
Teklifinizin ana hatlarını belirleyin
Kaydolmak ve işlere teklif vermek ücretsizdir
2 freelancer bu proje için ortalama £15 GBP teklif veriyor
Kullanıcı Avatarı
Hello, I'm an expert Java developer with experience in object-oriented, data structure, swing, JavaFX and more advanced. I can help you to finish this project with great quality. We can negotiate on price/Budget Regards Relevant Skills and Experience java.
£15 GBP 1 gün içinde
4,6 (5 değerlendirme)
2,4
2,4

Müşteri hakkında

   UNITED KINGDOM bayrağı
Belfast, United Kingdom
5,0
1
Ödeme yöntemi onaylandı
Ağu 5, 2020 tarihinden bu yana üye

Müşteri Doğrulaması

Teşekkürler! Ücretsiz kredinizi talep etmeniz için size bir bağlantı gönderdik.
E-postanız gönderilirken bir şeyler yanlış gitti. Lütfen tekrar deneyin.
Kayıtlı Kullanıcı İlan Edlien Toplam İş
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Ön izleme yükleniyor
Coğrafik konum için izin verildi.
Giriş oturumunuzun süresi doldu ve çıkış yaptınız. Lütfen tekrar giriş yapın.