我在使用GWT的couchDB中得到以下错误,
youRealmObject = realm.copyFromRealm(youRealmObject);
我像
一样创建了一个couchdb会话Be sure that HttpMethod.releaseConnection() is always called and that only one thread and/or method is using this connection manager at a time.
并用于不同的问候语服务方法。
static Session session = null;
public static Session Couchconnect(){
if(session==null) {
session = new Session("localhost", "5984");
}
return session;
}