No Frills Code Generator

2009-10-13 Thread Thomas Poling
Greetings All: I'm finally back - a lot of business travel and a little, well deserved, vacation. I think I've gathered all the ideas and will submit the attached jar as a starting point for the code generator. I just submitted the CLA form late last week but if you want to get this project into

Re: Importing XML

2009-10-13 Thread andrew cooke
Hi, I am doing this project to learn Scala, so this is the first time for me. Yes, I think it is the future of Java. The current fashion is to integrate features from functional languages into OO languages, and Scala is the best and most popular approach to doing this with Java. You do not need

Re: Importing XML

2009-10-13 Thread Francis De Brabandere
Hi andrew, A bit offtopic. Do you use scala a lot? Do you think it is the future for java? Would there be a need for empire-db - scala integration code? Thanks, Francis On Tue, Oct 13, 2009 at 2:17 PM, andrew cooke wrote: > Sorry, no - my fault.  I was using getRecordData instead of open.  Andr

Re: Importing XML

2009-10-13 Thread andrew cooke
Sorry, no - my fault. I was using getRecordData instead of open. Andrew 2009/10/13 andrew cooke : > Also, the dump is missing the first element of each table.  I believe > that is a bug in Empire DB, but I will first try to reproduce it in > Java and then file a report with a simple example.

Re: Importing XML

2009-10-13 Thread andrew cooke
My code to both dump and restore a database is at http://code.google.com/p/uykfd/source/browse/src/main/scala/org/acooke/uykfd/db/Dump.scala However it is (1) in Scala; (2) doesn't follow your error handling conventions; (3) makes assumptions about how keys are named and implemented. Also, the du

re: Importing XML

2009-10-13 Thread Rainer Döbele
Hi Andrew, currently there is no support for importing XML. The idea behind extracting query data in XML is mainly to be able to transform it to a desired representation though XSLT - for example to transform it directly to XHTML. Importing XML data however could probably not be solved in such