Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sqldev/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<!-- The Basics -->
<groupId>org.utplsql</groupId>
<artifactId>org.utplsql.sqldev</artifactId>
<version>0.7.1</version>
<version>0.7.2-SNAPSHOT</version>
<packaging>bundle</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -277,8 +277,8 @@ class UtplsqlController implements Controller {
connectionName = view.connectionName
}
logger.fine('''connectionName: «connectionName»''')
val preferences = PreferenceModel.getInstance(Preferences.preferences)
val parser = new UtplsqlParser(component.text, if (preferences.checkRunUtplsqlTest) {Connections.instance.getConnection(connectionName)} else {null}, owner)
// issue 59 - always use a connection to ensure the utPL/SQL annotation API is used
val parser = new UtplsqlParser(component.text, Connections.instance.getConnection(connectionName), owner)
val position = component.caretPosition
val path = parser.getPathAt(position)
val utPlsqlWorksheet = new UtplsqlWorksheet(path.pathList, connectionName)
Expand Down