From 759d8c3e7528aa849724c0e441191be28409ed7b Mon Sep 17 00:00:00 2001 From: mdb Date: Sat, 5 Nov 2005 01:57:17 +0000 Subject: [PATCH] Clarify the situation a bit. git-svn-id: https://samskivert.googlecode.com/svn/trunk@1729 6335cc39-0255-0410-8fd6-9bcaacd3b74c --- .../src/java/com/samskivert/jdbc/JORARepository.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/projects/samskivert/src/java/com/samskivert/jdbc/JORARepository.java b/projects/samskivert/src/java/com/samskivert/jdbc/JORARepository.java index dd525582..a701b7e3 100644 --- a/projects/samskivert/src/java/com/samskivert/jdbc/JORARepository.java +++ b/projects/samskivert/src/java/com/samskivert/jdbc/JORARepository.java @@ -46,6 +46,10 @@ public abstract class JORARepository extends SimpleRepository { 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 createTables(_session); }