原创 clob轉化爲string的orcal函數

CREATE OR REPLACE FUNCTION blob_to_clob (blob_in IN BLOB) RETURN CLOB    A

原创 在oracle裏報錯:ORA-00979: 不是 GROUP BY 表達式

orcal 使用聚合函數中用group by來分組數據時特別說明了select 列表項中不存在的列可以出現在group by的列表項中,但反過來就不行了,在select列表項中出現的列必須全部出現在group by後面(聚合函數除外)

原创 org.apache.solr.common.SolrException: Request-URI Too Large

採用post提交url提交方式有兩種,一種是get方式,一種是post方式 sol查詢的時候添加個參數     QueryResponse qr = solr.query(this.getSolrQuery(ids),METHOD.POS

原创 ORA-22835 緩衝區太小

ORA-22835: Buffer too small for CLOB to CHAR or BLOB to RAW conversion (actual: string, maximum: string)     Cause: An

原创 Failed to convert property value of type [java.lang.String] to required type [boolean] for property

config.property文件配置的爲 closeSolrUpdate=true; 類文件 public class GoodSearchIndexHelper { private boolean colseSolrUpdate;  

原创 solr query錯誤,查詢請求數據的url長度過長

把請求模式改成post模式, QueryResponse qr = solr.query(this.getSolrQuery(ids));改成 QueryResponse qr = solr.query(this.getSolrQuery

原创 emulator might not function correctly, please try updating the emulator.

Emulator: WARNING: unexpected system image feature string, emulator might not function correctly, please try updating t

原创 Caused by: java.sql.SQLException: 無效的列索引

打印出拼寫的sql    delete from XI_CATENTRY where store_id=? and catentry_id in (,?,?,?) sql語句錯誤 org.springframework.jdbc.Inv

原创 Missing artifact org.codehaus:wstx-asl:jar:3.2.7:compile

<dependency>             <groupId>org.codehaus</groupId>             <artifactId>wstx-asl</artifactId>             <ver

原创 java.util.ConcurrentModificationException

對於數組,在遍歷的時候,不能把他remove掉,否則會報這個錯誤     for (GoodPrice good : allGoodPric) {                 lastTime = good.getUpdateTime

原创 java.lang.IllegalMonitorStateException

當前線程等待timeout時間出現一次 暫時把  Thread.currentThread().wait(timeout); 改成this.wait(timeout),效果暫時有待考證 public class MultipleGoods

原创 Missing artifact com.sun:tools:jar:1.5.0:system

是${java.home}在作怪,eclipse 沒有使用 JAVA_HOME 找不到tools.jar包 默認,eclipse 使用 C:"windows"system32"javaw.exe 作爲 JVM,C:\Program Fil

原创 Android Studio sdk配置鏡像下載拒絕

已經選上還是訪問拒絕 解決方案: C:\Users\Administrator 下Android studio 文件全部刪除

原创 HTTP ERROR: 404 missing core name in path with solr

直接訪問http://localhost:8085/solr/ 能夠訪問 訪問http://localhost:8085/solr/ admin時候報上面錯誤 後來發現是solr的scheml.xml配置文件裏面的file標籤寫錯啦

原创 Solrj實時更新遇到數據變化的問題

系統原來沒有做索引的實時更新,而是採用腳本10min中全量索引一遍,由於做的是電子商務,需要做實時更新功能; 實時更新部分使用的是 SolrInputDocument sid = new SolrInputDocument(); sid.