java - Inserting a value into database having a BIGINT data type column -


what recommend? have problem there's jtextfield cellphone number. want insert on database. column name contact #.

for example insert tblinfo(contact #) values(12345678901)

would insert tblinfo values(integer.parseint(jtextfield.gettext())) ?

totally not. because integer exclusive few digits bigint data type database column.

what's alternate java class other integer , of course having method casts string of jtextfield suits bigint datatype in sql. thank responding.


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -