<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "java.sql.SQLException"]]></title>
		<link>http://www.sqlpower.ca/forum/posts/list/205.page</link>
		<description><![CDATA[Latest messages posted in the topic "java.sql.SQLException"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>java.sql.SQLException</title>
				<description><![CDATA[ Hi,<br /> I've downloaded the trial and when I try and connect to my local SQL server database I get this is error message.  <br /> <br /> Couldn't Determine the repository schema version!<br /> please check the repository settings of create the ...<br /> <br /> any help would be appreciated.<br /> <br /> Thanks,<br /> Jim<br /> <br /> ]]></description>
				<guid isPermaLink="true">http://www.sqlpower.ca/forum/posts/preList/1848/2521.page</guid>
				<link>http://www.sqlpower.ca/forum/posts/preList/1848/2521.page</link>
				<pubDate><![CDATA[Mon, 11 Feb 2008 10:17:06]]> GMT</pubDate>
				<author><![CDATA[ JimHobgood]]></author>
			</item>
			<item>
				<title>Re:java.sql.SQLException</title>
				<description><![CDATA[ Hello,<br /> <br /> We'll need some more information.<br /> <br /> 1) What version of Power*MatchMaker are you using?<br /> <br /> 2) Is this the first time you're using Power*MatchMaker?<br /> <br /> The Power*MatchMaker stores match results and other data in a database designated as the 'Repository'. By default, as of version 0.9.1, this is done in an embedded HSQLDB instance included with the application. However, you can optionally create a 'Repository' in a separate database, so if you're connecting to another database, then it will be expecting to 'Repository Schema' to be created in there.<br /> <br /> Fortunately, you can create this from the Power*MatchMaker. You can check Ch. 4 pg. 21 of the User's Guide to get an idea of how to create a Repository. However, the documentation is awfully wordy and requires some work, so I'll try to summarize the steps you need here.<br /> <br /> 1) You need to log into the 'MatchMaker Default Repository' first. (If it is missing from your list of repositories, then let me know, as this will have to involve another process to get it back in there)<br /> <br /> 2) Once you've logged in, go to the Database menu and click 'Create Repository...'. From there, you can select the database and the catalog and/or schema (depending on your platform) you wish to create the repository in.<br /> <br /> 3) Click 'Create'. A dialog should pop up with the necessary DDL SQL statements to create the schema. Click 'Execute' to run the SQL script, and your repository should be created.<br /> <br /> 4) Once that's done, go to the Database menu again and click 'Connect to Remote Repository'. You'll get the login screen. Select the database where you created the repository to log in.<br /> <br /> That should be it. Let me know if you run into any problems.]]></description>
				<guid isPermaLink="true">http://www.sqlpower.ca/forum/posts/preList/1848/2522.page</guid>
				<link>http://www.sqlpower.ca/forum/posts/preList/1848/2522.page</link>
				<pubDate><![CDATA[Mon, 11 Feb 2008 10:58:26]]> GMT</pubDate>
				<author><![CDATA[ Jeff]]></author>
			</item>
			<item>
				<title>Re:java.sql.SQLException</title>
				<description><![CDATA[ Jeff,<br /> <br /> Thanks for the quick reply.  The version is 0.9.2<br /> <br /> yes it is the first time using Power Match Maker<br /> <br /> 1) It does seem that I can login to the 'MatchMaker Default Repository'.  there are no errors when I choose from the database menu.<br /> Title bar says sa@MatchMaker Default Repository<br /> <br /> 2) Create New Repository - I then choose the connection to my local SQL server, then my a new DB created through SQL Management Studio and last the schema.  Click create...<br /> <br /> Window appears and I choose execute.<br /> <br /> errors - <br /> Invalid object name 'mm_schema_info'.<br /> Invalid object name 'pl_group'.<br /> Invalid object name 'pl_user'.<br /> Invalid object name 'user_group'.<br /> <br /> successful 48 of 52.<br /> <br /> Is there anything else I can provide so you better know what my problem is?<br /> <br /> Thanks,<br /> Jim]]></description>
				<guid isPermaLink="true">http://www.sqlpower.ca/forum/posts/preList/1848/2523.page</guid>
				<link>http://www.sqlpower.ca/forum/posts/preList/1848/2523.page</link>
				<pubDate><![CDATA[Mon, 11 Feb 2008 12:10:36]]> GMT</pubDate>
				<author><![CDATA[ JimHobgood]]></author>
			</item>
			<item>
				<title>Re:java.sql.SQLException</title>
				<description><![CDATA[ Jeff,<br /> <br /> I was able to copy the script and execute it in SSMS.  Now when I try and connect to remote repository i get a login failed.  <br /> <br /> com.microsoft.sqlserver.jdbc.SQLSwerverException<br /> <br /> Invalid object name 'pl_user'<br /> <br /> com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name 'pl_user'.<br /> 	at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(Unknown Source)<br /> 	at com.microsoft.sqlserver.jdbc.IOBuffer.processPackets(Unknown Source)<br /> 	at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(Unknown Source)<br /> 	at com.microsoft.sqlserver.jdbc.SQLServerStatement.doExecuteStatement(Unknown Source)<br /> 	at com.microsoft.sqlserver.jdbc.SQLServerStatement$StatementExecutionRequest.executeStatement(Unknown Source)<br /> 	at com.microsoft.sqlserver.jdbc.CancelableRequest.execute(Unknown Source)<br /> 	at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeRequest(Unknown Source)<br /> 	at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeQuery(Unknown Source)<br /> 	at ca.sqlpower.sql.jdbcwrapper.StatementDecorator.executeQuery(StatementDecorator.java:105)<br /> 	at org.apache.commons.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:164)<br /> 	at ca.sqlpower.security.PLUser.find(PLUser.java:46<img src="http://www.sqlpower.ca/forum//images/smilies/b2eb59423fbf5fa39342041237025880.gif"  /><br /> 	at ca.sqlpower.security.PLUser.findByPrimaryKeyDoNotUse(PLUser.java:32<img src="http://www.sqlpower.ca/forum//images/smilies/b2eb59423fbf5fa39342041237025880.gif"  /><br /> 	at ca.sqlpower.security.PLSecurityManager.&lt;init&gt;(PLSecurityManager.java:97)<br /> 	at ca.sqlpower.matchmaker.dao.hibernate.MatchMakerHibernateSessionImpl.&lt;init&gt;(Unknown Source)<br /> 	at ca.sqlpower.matchmaker.dao.hibernate.MatchMakerHibernateSessionContext.createSession(Unknown Source)<br /> 	at ca.sqlpower.matchmaker.swingui.SwingSessionContextImpl.createSession(Unknown Source)<br /> 	at ca.sqlpower.matchmaker.swingui.LoginDialog$LoginAction.doStuff(Unknown Source)<br /> 	at ca.sqlpower.swingui.SPSwingWorker.run(SPSwingWorker.java:73)<br /> 	at java.lang.Thread.run(Unknown Source)<br /> <br /> Thanks,<br /> Jim]]></description>
				<guid isPermaLink="true">http://www.sqlpower.ca/forum/posts/preList/1848/2525.page</guid>
				<link>http://www.sqlpower.ca/forum/posts/preList/1848/2525.page</link>
				<pubDate><![CDATA[Mon, 11 Feb 2008 12:55:03]]> GMT</pubDate>
				<author><![CDATA[ JimHobgood]]></author>
			</item>
			<item>
				<title>Re:java.sql.SQLException</title>
				<description><![CDATA[ Hi Jim,<br /> <br /> If you could send us a screenshot of your SQL Server repository database connection, we'll let you know if it looks right.  Go to Database-&gt;Manage Database Connections, then edit the connection you're attempting to use for the repository. Post the screenshot of that "connection properties" dialog.<br /> <br /> Also, are you sure you want to use a remote repository at all? For most projects, it's fine to use the default repository. You can still do cleansing and de-duping on your SQL Server database while using the default repository; the biggest difference with the remote repository is that it's easier to share your MatchMaker work with other people. See chapter 4 of the user guide for details.<br /> <br /> -Jonathan]]></description>
				<guid isPermaLink="true">http://www.sqlpower.ca/forum/posts/preList/1848/2528.page</guid>
				<link>http://www.sqlpower.ca/forum/posts/preList/1848/2528.page</link>
				<pubDate><![CDATA[Mon, 11 Feb 2008 18:41:29]]> GMT</pubDate>
				<author><![CDATA[ Jonathan]]></author>
			</item>
			<item>
				<title>Re:java.sql.SQLException</title>
				<description><![CDATA[ Hi Guys,<br /> <br />       I am running into the same problem as Jim. I attempt to open Power MatchMaker and almost immediately I receive the following exception:<br /> <br /> ca.sqlpower.matchmaker.dao.hibernate.RepositoryException: Requested repository owner "public" not found. Please create it and try again.<br /> <br /> When I initially downloaded and installed Power MatchMaker, I was able to open and configure the tool just fine. After tinkering with the tool for a while, I decided I was going to set up my repository on my default SQL server. I changed the configuration from a local repository to a remote repository. After making these changes and exiting, the app starting throwing these exceptions. <br /> <br />     I have un-installed Power MatchMaker and re-installed it several times, even cleaning the registry in the process. But... for some reason, even if I re-install the app, it throws the exception.<br /> <br /> If anyone could offer advice or guidance with this issue I would greatly appreciate it.<br /> <br /> Thanks,<br /> <br /> Everett]]></description>
				<guid isPermaLink="true">http://www.sqlpower.ca/forum/posts/preList/1848/2848.page</guid>
				<link>http://www.sqlpower.ca/forum/posts/preList/1848/2848.page</link>
				<pubDate><![CDATA[Mon, 28 Apr 2008 15:39:00]]> GMT</pubDate>
				<author><![CDATA[ Everett]]></author>
			</item>
			<item>
				<title>Re:java.sql.SQLException</title>
				<description><![CDATA[ Hi Everett,<br /> <br /> Based on the error message, it looks like you configured the wrong schema owner for your database connection. <br /> <br /> Go to the Database menu and then select 'Manage Database Connections...'.<br /> <br /> The 'Database Connection Manager' dialog should show up. Select the connection that you're using to connect to your remote repository and click the 'Edit...' button. <br /> <br /> In there you should see your connection settings. At the very bottom, there is a 'Repository Schema Owner' field. You seem to have this set to 'public'. I believe you'll need to set this to the owner of the database you're connecting to.<br /> <br /> Try that and let us know what happens.]]></description>
				<guid isPermaLink="true">http://www.sqlpower.ca/forum/posts/preList/1848/2849.page</guid>
				<link>http://www.sqlpower.ca/forum/posts/preList/1848/2849.page</link>
				<pubDate><![CDATA[Mon, 28 Apr 2008 15:56:19]]> GMT</pubDate>
				<author><![CDATA[ Jeff]]></author>
			</item>
			<item>
				<title>Re:java.sql.SQLException</title>
				<description><![CDATA[ Hi Jeff,<br /> <br />     Thanks again for the quick reply. I agree that I likely configured the wrong schema owner. Unfortunately, once I am presented with the error message describe in my last past, the app does not continue to load.  When I clear the error, the screen disappears and the app exits. <br /> <br />     Is there any way to modify this setting outside of the Power MatchMaker application? Is there a config file or a registry setting that I can update to point to a different schema owner? If not, do you have any recommendations regarding completely uninstalling the application so that I may re-install the app with its production defaults.<br /> <br /> Thanks again for your time,<br /> <br /> Everett]]></description>
				<guid isPermaLink="true">http://www.sqlpower.ca/forum/posts/preList/1848/2850.page</guid>
				<link>http://www.sqlpower.ca/forum/posts/preList/1848/2850.page</link>
				<pubDate><![CDATA[Tue, 29 Apr 2008 08:24:35]]> GMT</pubDate>
				<author><![CDATA[ Everett]]></author>
			</item>
			<item>
				<title>Re:java.sql.SQLException</title>
				<description><![CDATA[ Hi Everett, <br /> <br /> Yes, there is a configuration file that you can edit to set the Repository Schema Owner. This is the pl.ini file. It should be located in your home directory, which I believe should be in your C:\Documents and Settings\&lt;your username&gt; directory if you're working on Windows. <br /> <br /> Open it up with any text editor. The first few sections of the pl.ini are your database type configurations, which you don't need to worry about here. <br /> <br /> The next few sections, each marked with '[Database_#]' (where # is a number), are your database connection configurations. Find the connection for the SQL Server database you're connecting to. You can tell by the property 'Logical', which is just the name that you gave your connection in the MatchMaker. When you find your connection, look for a property called <br /> 'PL Schema Owner'. If it's not there, then just add it. Set that to the owner of the database you want to connect to.<br /> <br /> So for example, your database connection entry would look something like:<br /> [code][Databases_4]<br /> Logical=My Database<br /> Connection Type=SQL Server<br /> JDBC URL=jdbc:sqlserver://hostname:1433<br /> UID=foo<br /> PWD=abc<br /> ca.sqlpower.architect.etl.kettle.database=<br /> ca.sqlpower.architect.etl.kettle.port=<br /> ca.sqlpower.architect.etl.kettle.hostname=<br /> ca.sqlpower.architect.etl.kettle.repoin=<br /> ca.sqlpower.architect.etl.kettle.repos.password=<br /> PL Schema Owner=dbo[/code]<br /> Also, if you happen to be not on Windows, then make sure that when you save the pl.ini that you save it with [b]Windows-style line-endings[/b] (CRLF). This is very important because the MatchMaker will not work if the pl.ini is using UNIX or Mac style line endings. This is because the password obfuscation that we're using in the pl.ini sometimes converts characters into CR or LF characters used by UNIX and Mac for line endings. We hope to fix this when we convert the Power*MatchMaker and Power*Architect to use an XML-based configuration file format.<br /> <br /> Hope this helps!]]></description>
				<guid isPermaLink="true">http://www.sqlpower.ca/forum/posts/preList/1848/2853.page</guid>
				<link>http://www.sqlpower.ca/forum/posts/preList/1848/2853.page</link>
				<pubDate><![CDATA[Tue, 29 Apr 2008 10:38:01]]> GMT</pubDate>
				<author><![CDATA[ Jeff]]></author>
			</item>
			<item>
				<title>Re:java.sql.SQLException</title>
				<description><![CDATA[ Hi Jeff,<br /> <br />       Thanks for your help! That did the trick. I am just starting to evaluate the application, but so far it is exceeding my expectations!<br /> <br /> Everett]]></description>
				<guid isPermaLink="true">http://www.sqlpower.ca/forum/posts/preList/1848/2857.page</guid>
				<link>http://www.sqlpower.ca/forum/posts/preList/1848/2857.page</link>
				<pubDate><![CDATA[Thu, 1 May 2008 09:13:24]]> GMT</pubDate>
				<author><![CDATA[ Everett]]></author>
			</item>
	</channel>
</rss>
