RIAwolf / dao-ext

Automatically exported from code.google.com/p/dao-ext
0 stars 0 forks source link

Table created before connection is set #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Connect to db 
2. Pass connection to DAO using setConnection

What is the expected output? What do you see instead?
A connection. An error

Please provide any additional information below.
The setConnection sets the database connection after it tries to run the 
createTable which doesn't 
seem to make any sense. I removed this from my code since I copy the db to the 
local store and 
dont need create table statements.

Original issue reported on code.google.com by JeffreyT...@gmail.com on 17 Mar 2009 at 3:33

GoogleCodeExporter commented 9 years ago
fixed in SVN.
Method still continue trying to generate table and indices but only if given 
connection is opened.
Further updates will add a second parameter to let the choice to the programmer.

Original comment by matteo.r...@gmail.com on 24 Mar 2009 at 1:00