-
The Generator throws a NullPointerException if one of the SQLite-Tables has a primary key (without pk the generator works fine).
JDCB-driver: sqlitejdbc-v056.jar (http://www.zentus.com/sqlitejdbc/)
-------------------------------
Output of the generator:
-------------------------------
$ ant generate
Buildfile: build.xml
generate.check:
generate.code:
[sql2java] GenerationTask...
2009-12-12 17:04:52 UTC by soumas
-
In my xxManager classes I don't get any methods like: loadXXViaYY(bean) type methods even though there are table junction tables. I can see the method template in manager.java.vm but I'm not sure why those methods aren't being created.
Any help would be appreciated.
Thanks.
2009-11-05 06:19:42 UTC by victorewert
-
In sql2java.properties file section 7/8 there are mappings like jdbc2java.date=java.util.Date.
I need to make sure that the DECIMAL type in my db (DB2) is converted to something other than BigDecimal, as it is now.
Is there a list somewhere of what's available in jdbc2java. types?
Can I use something like jdbc2java.decimal=double?.
2009-10-23 19:43:50 UTC by Val
-
I've used sql2java for java applications. But recently I needed something similar for PHP and used sql2java to generate, from a MySQL database.
Here's the sources of the templates I've used. Use it as you want.
2009-09-05 15:37:47 UTC by paulor0
-
Hi there,
I'm starting to use sql2java for a new product (yes the KISS principle keeps me away from Hibernate and the like)
I have made some tweaks to the java templates. Some of the are too large to be copied directly here, so I'm posting the list and if someone is interested in my code, feel free to contact me :
-perschema/manager.java.vm
Seems like there was some problems with...
2009-08-07 13:47:44 UTC by qstone