`
woshixushigang
  • 浏览: 563824 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类

Out of range value for column 'bindUid' at row 1

 
阅读更多

今天弄新浪微博绑定,数据库oauth_token表需要插入bindUid耶就是新浪微博账户uid。第一步绑定获取token时候是获取不到uid的,因为AccessToken 类里面 uid没有 get方法。

 

public AccessToken(Response res) throws WeiboException{
		super(res);
		JSONObject json =res.asJSONObject();
		try{
			accessToken = json.getString("access_token");
			expireIn = json.getString("expires_in");
			refreshToken = json.getString("refresh_token");
			uid = json.getString("uid");
		} catch (JSONException je) {
			throw new WeiboException(je.getMessage() + ":" + json.toString(), je);
		}
	}

public String getAccessToken() {
		return accessToken;
	}
	public String getExpireIn() {
		return expireIn;
	}
	public String getRefreshToken() {
		return refreshToken;
	}
 

 没有getUid所以获取不到uid的,只能重新编译并打jar包引入程序。

 

插入数据库过程中报错,因为新浪微博uid是string的并且超过了Int范围。

0
0
分享到:
评论

相关推荐

    单元格插入毫秒

    Hx = .Range("A65536").End(xlUp).Row Lx = .Range("IV3").End(xlToLeft).Column .Range(.Cells(1, "E"), .Cells(Hx, Lx)).ClearContents .Range("E1") = "权限设置区" .Range("E1:IV2").HorizontalAlignment =...

    微软内部资料-SQL性能优化5

    Each index row in node pages contains an index key (or set of keys for a composite index) and a pointer to a page at the next level for which the first key value is the same as the key value in the ...

    pb错误集锦

    case 4//4 Enumerated value is out of range for function ls_msg = "枚举值超出函数的范围" case 5//5 Negative value encountered in function ls_msg = "函数中遇到负数" case 6//6 Invalid DataWindow ...

    微软内部资料-SQL性能优化3

    For an example of how to decode value from this column using the information above, let us assume we have the following value: 0x000705001F83D775010002014F0BEC4E With byte swapping within each ...

    TMS Pack for FireMonkey2.3.0.1

    New : Support for update 4 hotfix 1 Fixed : Issue with order of freeing objects in TTMSFMXTableView v1.1.0.4 Fixed : Issue with state changing with mouse out of bounds in TTMSFMXSlider Fixed : ...

    Cassandra的PHP客户端库phpcassa.zip

    $users->insert('key', array('column1' => 'value1', 'column2' => 'value2')); $users->get('key'); $users->multiget(array('key1', 'key2')); $users->remove('key1'); // removes whole row $users->remove('...

    EMS Advanced Data Import Component Suite 3.5.0.3 for XE2

    - range of cells in the row or column - A1-F1, B1-B12, C1-ROWFINISH, K4-COLFINISH; - sheet name - [Sheet2]B1-B6; - sheet number - [:3]D4-D9; - several cellsets for the same field - [Sheet2]C12-...

    C#读取JPEG图片的Exif信息

    // of the data once it is returned. Those properties have their own // methods. switch (exifCode) { case Definitions.exifCode.ImageDescription: returnValue = ParsedString(Definitions.exifCode....

    DevExpress VCL v2012 vol 1.6源码、例子、帮助-Part1

    Q433982 - Data-aware Views - The "RowIndex out of range" exception is thrown when updating the TClientDataSet bound to the View within a form's OnDestroy event handler using EmptyDataSet, etc. ...

    DevExpress VCL 2012 vol 1.6源码、例子、帮助-Part1

    Q433982 - Data-aware Views - The "RowIndex out of range" exception is thrown when updating the TClientDataSet bound to the View within a form's OnDestroy event handler using EmptyDataSet, etc. ...

    DevExpress VCL v2012 vol 1.6源码、例子、帮助

    Q433982 - Data-aware Views - The "RowIndex out of range" exception is thrown when updating the TClientDataSet bound to the View within a form's OnDestroy event handler using EmptyDataSet, etc. ...

    DevExpress VCL v2012 vol 1.6源码-例子-帮助-part1

    Q433982 - Data-aware Views - The "RowIndex out of range" exception is thrown when updating the TClientDataSet bound to the View within a form's OnDestroy event handler using EmptyDataSet, etc. ...

    DevExpress VCL 2012 vol 1.6源码、例子、帮助-Part2

    Q433982 - Data-aware Views - The "RowIndex out of range" exception is thrown when updating the TClientDataSet bound to the View within a form's OnDestroy event handler using EmptyDataSet, etc. ...

    DevExpress VCL v2012 vol 1.6源码、例子、帮助-part2

    Q433982 - Data-aware Views - The "RowIndex out of range" exception is thrown when updating the TClientDataSet bound to the View within a form's OnDestroy event handler using EmptyDataSet, etc. ...

    WPTools.v6.29.1.Pro

    - fix for wrong display of tables with header and footer rows. Sometimes both were painted without any data. + to load old Hiedit templates as RTF code use the formatstring -HiEditFields. This will ...

    DevExpress VCL v2012 vol 1.6源码-例子-帮助-part2

    Q433982 - Data-aware Views - The "RowIndex out of range" exception is thrown when updating the TClientDataSet bound to the View within a form's OnDestroy event handler using EmptyDataSet, etc. ...

    OutlookAttachView v2.73

    o Added time fields for the scanning date range. o The date range is now saved in the .cfg file. * Version 1.63 o Added 2 actions to 'Double-Click Action': 'Open Selected Attachment With' and '...

    uipath-Level 1最终测试答案.docx

    4. What activity can you use to get a column value from a specific row of a DataTable? 5. How can we make sure that an app is in a certain state in a Citrix environment? 6. What happens if you send ...

    i-vector的工具箱

    As expected there is no change in overall shape of the distribution, and only the dynamic range of the feature stream is modified. wcmvn Purpose Cepstral mean and variance normalization (CMVN) ...

    FastReport.v4.15 for.Delphi.BCB.Full.Source企业版含ClientServer中文修正版支持D4-XE5

    FastReport.v4.15 for.Delphi.BCB.Full.Source企业版含ClientServer中文修正版支持Delphi 4-XE5 and C++Builder 6-XE5. D2010以上版本(D14_D19)安装必读 delphi2010以上版本(D14_D19)使用者安装时,请将res\frccD14_...

Global site tag (gtag.js) - Google Analytics