Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. Help with database

Help with database

Scheduled Pinned Locked Moved Web Development
javahtmldatabaseoraclehelp
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    gReaen
    wrote on last edited by
    #1

    Hello, I'm trying to connect Oracle database with HTML frontend using JSP. I tried displaying contents of a table but it shows the contents even after i delete them from the table. Can someone help please? I'm new to this. Also, i need to insert 500 chars of data. Tried varchar2 and long datatype but my oracle shows it should be under 241 chars. What should i do? I use Oracle 9i.

    P 1 Reply Last reply
    0
    • G gReaen

      Hello, I'm trying to connect Oracle database with HTML frontend using JSP. I tried displaying contents of a table but it shows the contents even after i delete them from the table. Can someone help please? I'm new to this. Also, i need to insert 500 chars of data. Tried varchar2 and long datatype but my oracle shows it should be under 241 chars. What should i do? I use Oracle 9i.

      P Offline
      P Offline
      Paul Conrad
      wrote on last edited by
      #2

      gReaen wrote:

      I tried displaying contents of a table but it shows the contents even after i delete them from the table.

      Sounds like you either have to refresh the table or commit the changes to the database.

      "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

      G 1 Reply Last reply
      0
      • P Paul Conrad

        gReaen wrote:

        I tried displaying contents of a table but it shows the contents even after i delete them from the table.

        Sounds like you either have to refresh the table or commit the changes to the database.

        "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

        G Offline
        G Offline
        gReaen
        wrote on last edited by
        #3

        I tried deleting it directly from the table. It clearly shows that there are zero rows in the table but, the webpage still displays it. Is there any alternatives to reflect that change on the webpage?

        V 1 Reply Last reply
        0
        • G gReaen

          I tried deleting it directly from the table. It clearly shows that there are zero rows in the table but, the webpage still displays it. Is there any alternatives to reflect that change on the webpage?

          V Offline
          V Offline
          Vasudevan Deepak Kumar
          wrote on last edited by
          #4

          Two reasons: 1) Commit Changes After Deleting Rows 2) Page being displayed from cache

          Vasudevan Deepak Kumar Personal Homepage
          Tech Gossips
          A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups