element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
RoadTests & Reviews
  • Products
  • More
RoadTests & Reviews
RoadTest Forum Is anyone having issue with roadtest submissions? Having some SQL error message.
  • Blogs
  • RoadTest Forum
  • Documents
  • RoadTests
  • Reviews
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join RoadTests & Reviews to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 14 replies
  • Answers 8 answers
  • Subscribers 2563 subscribers
  • Views 1379 views
  • Users 0 members are here
  • RoadTest
  • problem
Related

Is anyone having issue with roadtest submissions? Having some SQL error message.

jdlui
jdlui over 8 years ago

This is error message I get when I try to submit:

 

PreparedStatementCallback; SQL [ INSERT INTO e14RoadTestApp ( roadTestAppID, containerID, containerType, userID, status, creationDate, modificationDate, title, description, roadTestID, fullName, email, address1, address2, language_code, city, province, postal, phone, fax, country, internalStatus, eeExperience, jobRole, comparableProducts, applicationUsage, projectTitle ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? ); ]; Data truncation; nested exception is java.sql.DataTruncation: Data truncation

  • Sign in to reply
  • Cancel

Top Replies

  • Dudley
    Dudley over 8 years ago in reply to jdlui +4
    That's an awesome piece of detective work there jdlui , and a great citation of why I really like this job If I'd been trying to track down what had happened here without your input, this would have wound…
  • jdlui
    jdlui over 8 years ago in reply to Dudley +3 suggested
    HI Dudley, I'm applying for the tinyTILE roadtest. My submission is viewable here: element14 tinyTILE Intel Curie Based Board Please see my comment at Apr 12, 2017 7:51 AM for some more detail on the issue…
  • mcb1
    mcb1 over 8 years ago in reply to Dudley +3
    He needs a special badge that you can allocate ...
Parents
  • jdlui
    0 jdlui over 8 years ago

    Thank you for the suggestions Andy and Frederick.

     

    I played with it a bit further and managed to find the problem. I have now managed to submit my application. The issue was not in the word limit of the main submission, but the character limit of postal code field.

     

    Problem was that I was allowing Chrome to autofill my address details. This shouldn't cause an issue in theory but I noticed that Chrome seems to be overfilling the postal code field (I cram my postal code and country here since there is no country field in the application).

    Chrome autofilled 11 characters into this field, but I can see when I erase the postal code field and manually type it, the browser truncates my text at 10 characters. So this is where the truncation error was in that SQL error.

     

    Thanks folks!

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Reply
  • jdlui
    0 jdlui over 8 years ago

    Thank you for the suggestions Andy and Frederick.

     

    I played with it a bit further and managed to find the problem. I have now managed to submit my application. The issue was not in the word limit of the main submission, but the character limit of postal code field.

     

    Problem was that I was allowing Chrome to autofill my address details. This shouldn't cause an issue in theory but I noticed that Chrome seems to be overfilling the postal code field (I cram my postal code and country here since there is no country field in the application).

    Chrome autofilled 11 characters into this field, but I can see when I erase the postal code field and manually type it, the browser truncates my text at 10 characters. So this is where the truncation error was in that SQL error.

     

    Thanks folks!

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube