This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Product Version = NetBeans IDE 7.1 (Build 201112071828) Operating System = Windows 7 version 6.1 running on x86 Java; VM; Vendor = 1.7.0_02 Runtime = Java HotSpot(TM) Client VM 22.0-b10 When i use a INSERT-INTO-QUERY for (MS SQL Server) > 2012-02-30 And then try to get them back from DB, i get 2012-02-28, and also when i try to execute a CURRENT_DATE command, i get a value sub. by 2. It is the same as i try to instert and get data by Java-Code. If i try it with MS SQL-Editor its's everything okay. So i don't know if it is a because of Java7 or Netbeans7.1, because with Netbeans 7.0.1 and a lower Java-Version it runs how it should.
(In reply to comment #0) > Product Version = NetBeans IDE 7.1 (Build 201112071828) > Operating System = Windows 7 version 6.1 running on x86 > Java; VM; Vendor = 1.7.0_02 > Runtime = Java HotSpot(TM) Client VM 22.0-b10 > > When i use a INSERT-INTO-QUERY for (MS SQL Server) > 2012-02-30 > And then try to get them back from DB, i get 2012-02-28, and also when i try to > execute a CURRENT_DATE command, i get a value sub. by 2. > It is the same as i try to instert and get data by Java-Code. > > If i try it with MS SQL-Editor its's everything okay. > > So i don't know if it is a because of Java7 or Netbeans7.1, because with > Netbeans 7.0.1 and a lower Java-Version it runs how it should. Thanks for report. Could you try run NetBeans 7.0.1 with Java7? It works for me with NetBeans 7.1 with Java7 with Java DB and Oracle DB. What are your steps to reproduce in detail? Thanks