Search found 267 matches

by jb_coder
Mon Nov 30, 2009 9:03 am
Forum: wxCode
Topic: Next DatabaseLayer release
Replies: 22
Views: 9066

Unfortunately the Oracle and MS SQL backends are still a work in progress. The hope was that we could get the ODBC backend working well enough with Oracle and MS SQL Server, but I haven't confirmed this against Oracle.
by jb_coder
Thu Jul 30, 2009 4:11 pm
Forum: wxCode
Topic: databaselayer Postgres link
Replies: 4
Views: 1360

Is PostgresInterface.cpp being compiled into the so file?
by jb_coder
Fri Apr 10, 2009 4:34 pm
Forum: wxCode
Topic: Next DatabaseLayer release
Replies: 22
Views: 9066

Thanks!

The latest code is released as version 1.8 at

http://sourceforge.net/project/showfile ... _id=337692
by jb_coder
Mon Apr 06, 2009 12:05 pm
Forum: wxCode
Topic: Next DatabaseLayer release
Replies: 22
Views: 9066

Next DatabaseLayer release

I'd like to release a new version of DatabaseLayer soon. The main list of changes includes: Changed RunQuery message signature to return a list of affected records Database backends are dynamically loaded (at the request of users) Ship with an internal version of SQLite3 to reduce dependency issues ...
by jb_coder
Thu Apr 02, 2009 10:51 am
Forum: wxCode
Topic: DatabaseLayer No Results
Replies: 5
Views: 1653

Change

Code: Select all

while (pResults->Next());
to

Code: Select all

while (pResults->Next())
by jb_coder
Tue Mar 24, 2009 11:30 am
Forum: wxCode
Topic: Get Database Layer to Work
Replies: 8
Views: 2372

I don't know if there is a wxCode standard that DatabaseLayer should be following, but I'll refer to the Readme.txt file of wxSQLite3 ( http://wxcode.svn.sourceforge.net/viewvc/wxcode/trunk/wxCode/components/wxsqlite3/Readme.txt ) which says: The autoconf-based systems also support a "make install" ...
by jb_coder
Tue Mar 24, 2009 7:57 am
Forum: C++ Development
Topic: databaselayer ODBC "invalid precision value" error
Replies: 21
Views: 4279

As of last night the UNICODE fixes for the ODBC backend have been committed. If you have any more problems with the latest code in subversion, please let me know. You will still need to add the OdbcInterface.cpp to the project though. I haven't had a chance to run bakefile on the project to generate...
by jb_coder
Mon Mar 23, 2009 10:25 am
Forum: C++ Development
Topic: databaselayer ODBC "invalid precision value" error
Replies: 21
Views: 4279

I fixed the ODBC UNICODE issues over the last weekend, but haven't had a chance to commit the code. The missing reference to the OdbcInterface class is because I forgot to add the OdbcInterface.cpp into the project files. I'll hopefully get to the library tonight to check the UNICODE fixes and the p...
by jb_coder
Sat Mar 21, 2009 6:09 pm
Forum: C++ Development
Topic: databaselayer ODBC "invalid precision value" error
Replies: 21
Views: 4279

I'm hoping to have another release of DatabaseLayer soon. Do you have anything more code changes that you'd like to include?

Thanks.
by jb_coder
Thu Mar 19, 2009 8:26 am
Forum: wxCode
Topic: Get Database Layer to Work
Replies: 8
Views: 2372

Yes, the 2.8 refers to the wxWidgets version. That's another one of the wxCode naming conventions.
by jb_coder
Wed Mar 18, 2009 4:58 pm
Forum: wxCode
Topic: Get Database Layer to Work
Replies: 8
Views: 2372

The build should create the intermediate files in databaselayer/build/gccgtk2_dll and the output files in databaselayer/lib/gcc_dll (or something similar under the databaselayer/lib directory). Was a file ending in ".so" or ".a" created anywhere under the databaselayer/lib directory? I think the "_d...
by jb_coder
Tue Mar 17, 2009 5:22 pm
Forum: wxCode
Topic: Get Database Layer to Work
Replies: 8
Views: 2372

The issue may be that your copy of the DatabaseLayer GNUmakefile was only written for static builds of wxWidgets. The version of GNUmakefile at

http://wxcode.svn.sourceforge.net/viewv ... vision=784

may fix the problem.
by jb_coder
Wed Mar 11, 2009 5:30 pm
Forum: wxCode
Topic: DatabaseLayer as a DLL
Replies: 7
Views: 1688

I wonder if it would work to only export the base classes DatabaseLayer PreparedStatement ResultSet ResultSetMetaData DatabaseLayerException and the main DatabaseLayer classes of each derived backend SqliteDatabaseLayer PostgresDatabaseLayer OdbcDatabaseLayer MysqlDatabaseLayer FirebirdDatabaseLayer
by jb_coder
Mon Mar 09, 2009 6:18 pm
Forum: wxCode
Topic: DatabaseLayer as a DLL
Replies: 7
Views: 1688

Do you remember which classes needed to be exported for the library to work for you?
by jb_coder
Mon Mar 09, 2009 9:40 am
Forum: wxCode
Topic: DatabaseLayer : Feature request
Replies: 10
Views: 2298

I've committed the code to source control to dynamically load the libraries for MySQL, Firebird, PostgreSQL, and ODBC. One potential problem with this is that your code may be subject to the GPL if you include the MySQL backend.