Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. pointertowhat

    Program Auto Restart

    How do you make a java application shutdown and automatically restart itself? The reason for this is I have an application I maintain - it's run from a network drive and sometimes the users leave an instance running for months at a time. When I release an update I would like each instance to...
  2. pointertowhat

    Programatically alter db table

    I'm trying to write an update app which needs to modify a table in the embedded Derby Db, but I get java.lang.IllegalArgumentException: node to traverse cannot be null! The code concerned is: Query q = this.entityManager1.createQuery("alter table jobrecords add column enginesize int not...
  3. pointertowhat

    updating bound table when model changes

    I have a Jtable thats bound to a DB table. Sometime the database can be updated and the model of the table changes but the displayed data doesn't. At the moment I have to cause a manual refresh by unbinding the table then rebinding it, which seems to me to be a really ugly solution. Is there...
  4. pointertowhat

    JTable CellEditor not being called second edit

    I've got a small test program set up to try and resolve this problem but I'm at a loss now. I have a jTable that has two columns - each of type double. The table uses a cell editor that selects all the contents on edit. (it also disables the editing on a mouse click to prevent masking of the...
  5. pointertowhat

    Embedded Derby db namedquery parse error with month

    Hi, I've got an embedded Derby DB and I use entity beans with namedqueries. One of which is: @NamedQuery(name = "Vehicles.findbymotmonth", query = "SELECT v FROM Vehicles v WHERE MONTH(v.lastmotdate) = :monthnumber") If I use the IDE to send this command to the database it works fine...
  6. pointertowhat

    Java Entity class - MS Access Primary Key

    I have a java entity class that is bound to a MS Access database using the persistance API. The db has a table 'customers' with the primary key field set to autonumber. However, my entity bean does not update the pk correctly or at all (depends on what I set the GeneratedValue param to. If I...
  7. pointertowhat

    Performance and speed with win32 events

    I'm writing a bit of code that uses win32 events quite a lot. I've been told that this introduces a lot of overhead and can be quite slow but I can't find any definative information on this. Does anyone have any opinions or information regarding overhead/performance when using events?

Part and Inventory Search

Back
Top