Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 208053
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T17:47:26+00:00 2026-05-11T17:47:26+00:00

From a user report, ‘when editing foo. textboxBar allows special characters which produce a

  • 0

From a user report, ‘when editing foo. textboxBar allows special characters which produce a warning .net error on save ‘

textboxBar.Text is assign to an object and saved using nHibernate

<property name="TextboxBar" length="255" not-null="false" />

Thinking it may be nHibernate not escaping strings but can’t find it in the docs.

Does nHibernate 1.2.0 automatically escape strings, link appreciated?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T17:47:26+00:00Added an answer on May 11, 2026 at 5:47 pm

    I doubt that it even needs to escape strings – I’d expect values to be passed in parameterised statements.

    I strongly suspect this has nothing to do with nHibernate – I suspect this is just an ASP.NET error, although admittedly that’s assuming that it’s an ASP.NET application. If this is the case, you probably just want to turn off validation for that page.

    See the ASP.NET FAQ page on validation for more details.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am taking in a string from user input, and splitting it on whitespace
Many websites have the concept of sending messages from user to user. When you
What would be the best way to fill an array from user input? Would
Hi all is it possible to rewrite query: select userid from User where userid
I'm trying to do something that gets a cs file in runtime from user
Aside from enhanced user experience, do Ajax calls provide any significant performance benefit?
I get a URL from a user. I need to know: a) is the
How can I prevent a user from resizing GridViewColumns withing a ListView control?
select distinct constraint_type from user_constraints; C - C P R U Seems P means
In C++ I'd like to do something like: int n = get_int_from_user(); char* matrix

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.