Closed GoogleCodeExporter closed 9 years ago
FIXED@r1525
some in compatible api change done:
JDBC jdbc = new JDBC(DATA_SOURCE);
EMPLOYEES = (EmployeeDAO) DAO.create(Employee.class, jdbc);
DEPARTMENTS = (DepartmentDAO) DAO.create(Department.class, jdbc);
the second argument to DAO.create(...) was DataSource, now it is JDBC
i.e you create single JDBC instance and use it for all DAO's. earlier
each DAO had its own JDBC instance.
now all table and columnnames are quoted using
DatabaseMetaData.getIdentifierQuoteString();
to turn off quoting use:
JDBC jdbc = new JDBC(DATA_SOURCE, null); // second arg is quoteString
to explicitly set quoteString:
JDBC jdbc = new JDBC(DATA_SOURCE, myQuoteString);
Original comment by santhosh.tekuri@gmail.com
on 5 Jun 2011 at 7:34
Original issue reported on code.google.com by
eire...@gmail.com
on 22 May 2011 at 10:08