Donate Share

xBaseJ - xBase Engine for Java

Code

Programming Languages: Java

License: GNU Library or Lesser General Public License (LGPL)

Repositories

browse code, statistics, last commit on 2009-10-30 svn co https://xbasej.svn.sourceforge.net/svnroot/xbasej xbasej

Project Finder

RSS Feed

This widget needs to be configured before it can be displayed.

Hi! Welcome to the Developer Section of SourceForge.


In this section, you can fix bugs and provide patches to your favorite projects. Open source works best if everyone pitches in...and who knows, you just might become a coding legend!

To get started register for an account. Without an account, you can't write source code, manage projects, or create a project of your own.


If you’re looking for projects that need help, check out our Project Help Wanted board. If you have an idea for the next big project, you can register it and start coding immediately.


Finally, if you're new to open source and just want to find out what’s going on, check out our community pages.

Thanks for visiting. Happy hacking!

Site Status

Show:

What's happening?

  • Reindex won't work after pack removes all records

    Found this one today. Haven't looked into fixing it. If you delete every record in a DBF, then call pack followed by a reindex, then attempt to re-add a record which contains a prior unique key value, you will fail with a duplicate key error. It appears the index doesn't get initialized when reindex knows there are zero records on file.

    2009-11-13 23:15:33 UTC by roland_hughes

  • Followup: RE: find() has initialization problem

    I hate it when I'm the source of my own problem. I'll take a look at the new release. I added that null check for a reason though...I don't think it was just cut and paste error...I think there was a test situation which caused a stack dump. It does seem odd that if you a move a value, any value, to the Field which happens to be the key or if you call reIndex() keyControl.elementAt(0) is...

    2009-10-30 16:42:55 UTC by roland_hughes

  • xBaseJ - xBase Engine for Java

    usacoder committed revision 66 to the xBaseJ - xBase Engine for Java SVN repository, changing 2 files.

    2009-10-30 16:08:42 UTC by usacoder

  • xBaseJ - xBase Engine for Java

    usacoder committed revision 65 to the xBaseJ - xBase Engine for Java SVN repository, changing 1 files.

    2009-10-30 16:07:57 UTC by usacoder

  • Followup: RE: find() has initialization problem

    The code you added to Index.java causes the error. Change line 143-148 if (f.get() == null);<br> else if (f.get().length() == 0);<br> else if (f.getType() == 'D')<br> d = Util.doubleDate(key);<br> else d = Double.valueOf(key ).doubleValue() ; to if (f.getType() == 'D')<br> d =...

    2009-10-30 16:01:32 UTC by usacoder

  • Source files for Book

    This isn't a bug, it is the only way I know to upload files. Hopefully they will get into the regular download. These are all of the source files which resulted from the creation of ISBN-13 978-0-9823580-3-0 "The Minimum You Need to Know About Java and xBaseJ". Eventually the book will be released in PDF form and free for download. It has not yet been edited, so is not ready for release.

    2009-10-29 23:32:42 UTC by roland_hughes

  • Followup: RE: find() has initialization problem

    Not just date keys are effected. Insert the following at the end of the try block of the previous example. NumField Elm_No = null; NumField Hit_Count = null; NumField Last_Draw_No = null; DBF oDB = new DBF( "st1.dbf", true); Elm_No = new NumField( "ElmNo", 2, 0); Hit_Count =...

    2009-10-23 21:12:29 UTC by roland_hughes

  • Followup: RE: find() has initialization problem

    Here is a stand alone example which identifies the bug completely. import java.io.*; import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.plaf.*; import com.sun.java.swing.plaf.windows.WindowsLookAndFeel; import com.sun.java.swing.plaf.gtk.GTKLookAndFeel; import com.sun.java.swing.plaf.motif.MotifLookAndFeel;.

    2009-10-23 17:34:30 UTC by roland_hughes

  • Followup: RE: find() has initialization problem

    It's simply a wrapper. Does the same thing it did with the other example I used to track down the date key problems. public int find_GE_record( String d) { int ret_val = MEGA_SUCCESS; if (!dbOpen) return MEGA_FILE_OPEN_ERR; try { aDB.useIndex( DEFAULT_K0_NAME); aDB.find( d); } catch(...

    2009-10-23 15:20:24 UTC by roland_hughes

  • Followup: RE: find() has initialization problem

    what does megaDBF.find_GE_record(String) do?.

    2009-10-23 12:52:00 UTC by usacoder

Our Numbers