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

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

android - How to create dynamically Fragment pager adapter -

1111. appearing after print sequence - php -