On Tue, Apr 14, 2009 at 5:36 PM, SalmasCM <[email protected]> wrote: > > > Hi: > > Would it be possible to get some documentation about which version of the > JDBC spec Jackrabbit is compatible with. it looks like its version 1.2 and > above? Our SQL group wants to know the version so that they can make sure to > be compliant.
jackrabbit does use JDBC 1.2 API. there are some (optional) dependencies to JDBC 2.0 API (e.g. javax.sql.DataSource). OTOH, jackrabbit requires java 1.4 which includes JDBC 3.0 API. i would suggest you use a JDBC 3.0 driver. cheers stefan > Also, does there exist somewhere a list of jars for each version of JR? I'd > like to know which versions I should have for the latest JR release. It > looks like 1.4.9 is the latest release of the core jar and this goes with JR > version 1.5.4? > > Thanks > > > SalmasCM wrote: >> >> >> Thanks. It is a JDBC driver but may not be a 1.4 driver. >> >> >> Thomas Müller-2 wrote: >>> >>> Hi, >>> >>>> com.inet.tds.am.prepareStatement(Ljava/lang/String;I)Ljava/sql/PreparedStatement; >>> >>> It looks like your JDBC driver is not JDBC 2.1 compliant. Is it a Java >>> 1.3 driver? You need a Java 1.4 driver. >>> >>> Regards, >>> Thomas >>> >>> >>> On Mon, Apr 6, 2009 at 4:51 PM, SalmasCM <[email protected]> wrote: >>>> >>>> I have an error that occurs with a commercial database driver for >>>> SQLServer >>>> but not with two other drivers. The error happens at repository login >>>> time. >>>> It seems to happen at the store method of bundle PM. My question is, are >>>> there any configuration changes I can make to avoid this issue? I've >>>> attached my jackRabbit config file. >>>> >>>> javax.jcr.RepositoryException: >>>> com.inet.tds.am.prepareStatement(Ljava/lang/String;I)Ljava/sql/PreparedStatement;: >>>> com.inet.tds.am.prepareStatement(Ljava/lang/String;I)Ljava/sql/PreparedStatement; >>>> at >>>> org.apache.jackrabbit.core.version.VersionManagerImpl.<init>(VersionManagerImpl.java:172) >>>> at >>>> org.apache.jackrabbit.core.RepositoryImpl.createVersionManager(RepositoryImpl.java:400) >>>> at >>>> org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:294) >>>> at >>>> org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:557) >>>> at >>>> com.ashland.valvoline.data.jackrabbit.ConnectionManagerImpl.getRepository(ConnectionManagerImpl.java:99) >>>> at >>>> com.ashland.valvoline.ui.util.JCRConnectionUtil.loginToRepository(JCRConnectionUtil.java:127) >>>> at >>>> com.ashland.valvoline.ui.util.JCRConnectionUtil.loginToRepository(JCRConnectionUtil.java:159) >>>> at >>>> com.ashland.valvoline.ui.util.JCRConnectionUtil.getSession(JCRConnectionUtil.java:188) >>>> at >>>> com.ashland.valvoline.ui.util.SpringUtil.startSession(SpringUtil.java:50) >>>> at >>>> com.ashland.valvoline.ui.util.SpringUtil.startDataLoadSession(SpringUtil.java:75) >>>> at >>>> com.ashland.valvoline.data.jackrabbit.LegacyDataLoader.<init>(LegacyDataLoader.java:148) >>>> at >>>> com.ashland.valvoline.data.jackrabbit.LegacyDataLoader.main(LegacyDataLoader.java:190) >>>> Caused by: org.apache.jackrabbit.core.state.ItemStateException: >>>> com.inet.tds.am.prepareStatement(Ljava/lang/String;I)Ljava/sql/PreparedStatement; >>>> at >>>> org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager.store(BundleDbPersistenceManager.java:546) >>>> at >>>> org.apache.jackrabbit.core.version.VersionManagerImpl.<init>(VersionManagerImpl.java:157) >>>> ... 11 more >>>> org.apache.jackrabbit.core.state.ItemStateException: >>>> com.inet.tds.am.prepareStatement(Ljava/lang/String;I)Ljava/sql/PreparedStatement; >>>> at >>>> org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager.store(BundleDbPersistenceManager.java:546) >>>> at >>>> org.apache.jackrabbit.core.version.VersionManagerImpl.<init>(VersionManagerImpl.java:157) >>>> at >>>> org.apache.jackrabbit.core.RepositoryImpl.createVersionManager(RepositoryImpl.java:400) >>>> at >>>> org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:294) >>>> at >>>> org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:557) >>>> at >>>> com.ashland.valvoline.data.jackrabbit.ConnectionManagerImpl.getRepository(ConnectionManagerImpl.java:99) >>>> at >>>> com.ashland.valvoline.ui.util.JCRConnectionUtil.loginToRepository(JCRConnectionUtil.java:127) >>>> at >>>> com.ashland.valvoline.ui.util.JCRConnectionUtil.loginToRepository(JCRConnectionUtil.java:159) >>>> at >>>> com.ashland.valvoline.ui.util.JCRConnectionUtil.getSession(JCRConnectionUtil.java:188) >>>> at >>>> com.ashland.valvoline.ui.util.SpringUtil.startSession(SpringUtil.java:50) >>>> at >>>> com.ashland.valvoline.ui.util.SpringUtil.startDataLoadSession(SpringUtil.java:75) >>>> at >>>> com.ashland.valvoline.data.jackrabbit.LegacyDataLoader.<init>(LegacyDataLoader.java:148) >>>> at >>>> com.ashland.valvoline.data.jackrabbit.LegacyDataLoader.main(LegacyDataLoader.java:190) >>>> http://www.nabble.com/file/p22910336/repository.xml repository.xml >>>> -- >>>> View this message in context: >>>> http://www.nabble.com/ItemStateException-with-some-drivers-tp22910336p22910336.html >>>> Sent from the Jackrabbit - Users mailing list archive at Nabble.com. >>>> >>>> >>> >>> >> >> > > -- > View this message in context: > http://www.nabble.com/ItemStateException-with-some-drivers-tp22910336p23041859.html > Sent from the Jackrabbit - Users mailing list archive at Nabble.com. > >
