Clarify the situation a bit.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1729 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -46,6 +46,10 @@ public abstract class JORARepository extends SimpleRepository
|
|||||||
{
|
{
|
||||||
super(provider, dbident);
|
super(provider, dbident);
|
||||||
|
|
||||||
|
// our parent class will have already obtained a database connection
|
||||||
|
// and therefore ended up calling getConnection() which will create our
|
||||||
|
// session, so we can make use of it straight away
|
||||||
|
|
||||||
// create our tables
|
// create our tables
|
||||||
createTables(_session);
|
createTables(_session);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user