Hi, I know the Tamino processor has the two properties oxf.tamino.isolation-degree and oxf.tamino.lock-mode which are set in the file properties.xml, but if I do
not include settings for them in properties.xml what values are used ? I have checked the documentation but it does not say. regards Doug Young Doug Young Software Engineer Teleflex IT
+44 (0) 1506 407107 -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Doug,
OPS does not set any of those properties on the Tamino connection if they are not specified. I assume that some default is used in that case, and that the Tamino documentation contains the answer. Please let us know if you find out. -Erik Doug Young wrote: > Hi, > > I know the Tamino processor has the two properties > > oxf.tamino.isolation-degree > > and > > oxf.tamino.lock-mode > > > > which are set in the file properties.xml, but if I do not include > settings for them in properties.xml what values are used ? > > I have checked the documentation but it does not say. > > > > regards > > Doug Young > > > > Doug Young > > Software Engineer > > > > Teleflex IT > > 1 Michaelson Square > Livingston > West Lothian > Scotland > EH54 7DP > > +44 (0) 1506 407107 > > > > > ------------------------------------------------------------------------ > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
When you say it does not the properties do you mean it does not call the Tamino API functions at all or it supplies the parameters as empty/null ? regards Doug Doug Young Software Engineer Teleflex IT 1 Michaelson Square Livingston West Lothian Scotland EH54 7DP +44 (0) 1506 407107 -----Original Message----- From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez Sent: 11 January 2006 11:27 To: [hidden email] Subject: Re: [ops-users] Tamino Processor Properties - default values ? Doug, OPS does not set any of those properties on the Tamino connection if they are not specified. I assume that some default is used in that case, and that the Tamino documentation contains the answer. Please let us know if you find out. -Erik Doug Young wrote: > Hi, > > I know the Tamino processor has the two properties > > oxf.tamino.isolation-degree > > and > > oxf.tamino.lock-mode > > > > which are set in the file properties.xml, but if I do not include > settings for them in properties.xml what values are used ? > > I have checked the documentation but it does not say. > > > > regards > > Doug Young > > > > Doug Young > > Software Engineer > > > > Teleflex IT > > 1 Michaelson Square > Livingston > West Lothian > Scotland > EH54 7DP > > +44 (0) 1506 407107 > > > > > ------------------------------------------------------------------------ > > > -- > You receive this message as a subscriber of the [hidden email] > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Here is the code:
if (isolationDegree != null) newConnection.setIsolationDegree(isolationDegree); if (lockMode != null) newConnection.setLockMode(lockMode); If the attributes are not specified, the methods are not called. -Erik Doug Young wrote: > When you say it does not the properties do you mean it does not call the > Tamino API functions at all or it supplies the parameters as empty/null ? > > regards > Doug > > Doug Young > Software Engineer > > Teleflex IT > 1 Michaelson Square > Livingston > West Lothian > Scotland > EH54 7DP > +44 (0) 1506 407107 > > -----Original Message----- > From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez > Sent: 11 January 2006 11:27 > To: [hidden email] > Subject: Re: [ops-users] Tamino Processor Properties - default values ? > > Doug, > > OPS does not set any of those properties on the Tamino connection if > they are not specified. I assume that some default is used in that case, > and that the Tamino documentation contains the answer. Please let us > know if you find out. > > -Erik > > Doug Young wrote: > >>Hi, >> >> I know the Tamino processor has the two properties >> >>oxf.tamino.isolation-degree >> >>and >> >>oxf.tamino.lock-mode >> >> >> >>which are set in the file properties.xml, but if I do not include >>settings for them in properties.xml what values are used ? >> >>I have checked the documentation but it does not say. >> >> >> >>regards >> >>Doug Young >> >> >> >>Doug Young >> >>Software Engineer >> >> >> >>Teleflex IT >> >>1 Michaelson Square >>Livingston >>West Lothian >>Scotland >>EH54 7DP >> >>+44 (0) 1506 407107 >> >> >> >> >>------------------------------------------------------------------------ >> >> >>-- >>You receive this message as a subscriber of the [hidden email] > > mailing list. > >>To unsubscribe: mailto:[hidden email] >>For general help: mailto:[hidden email]?subject=help >>ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > > > > > > > ------------------------------------------------------------------------ > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Thanks,
I will check out the Tamino docs. cheers Doug Doug Young Software Engineer Teleflex IT 1 Michaelson Square Livingston West Lothian Scotland EH54 7DP +44 (0) 1506 407107 -----Original Message----- From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez Sent: 11 January 2006 15:38 To: [hidden email] Subject: Re: [ops-users] Tamino Processor Properties - default values ? Here is the code: if (isolationDegree != null) newConnection.setIsolationDegree(isolationDegree); if (lockMode != null) newConnection.setLockMode(lockMode); If the attributes are not specified, the methods are not called. -Erik Doug Young wrote: > When you say it does not the properties do you mean it does not call the > Tamino API functions at all or it supplies the parameters as empty/null ? > > regards > Doug > > Doug Young > Software Engineer > > Teleflex IT > 1 Michaelson Square > Livingston > West Lothian > Scotland > EH54 7DP > +44 (0) 1506 407107 > > -----Original Message----- > From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez > Sent: 11 January 2006 11:27 > To: [hidden email] > Subject: Re: [ops-users] Tamino Processor Properties - default values ? > > Doug, > > OPS does not set any of those properties on the Tamino connection if > they are not specified. I assume that some default is used in that case, > and that the Tamino documentation contains the answer. Please let us > know if you find out. > > -Erik > > Doug Young wrote: > >>Hi, >> >> I know the Tamino processor has the two properties >> >>oxf.tamino.isolation-degree >> >>and >> >>oxf.tamino.lock-mode >> >> >> >>which are set in the file properties.xml, but if I do not include >>settings for them in properties.xml what values are used ? >> >>I have checked the documentation but it does not say. >> >> >> >>regards >> >>Doug Young >> >> >> >>Doug Young >> >>Software Engineer >> >> >> >>Teleflex IT >> >>1 Michaelson Square >>Livingston >>West Lothian >>Scotland >>EH54 7DP >> >>+44 (0) 1506 407107 >> >> >> >> >>------------------------------------------------------------------------ >> >> >>-- >>You receive this message as a subscriber of the [hidden email] > > mailing list. > >>To unsubscribe: mailto:[hidden email] >>For general help: mailto:[hidden email]?subject=help >>ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > > > > > > > ------------------------------------------------------------------------ > > > -- > You receive this message as a subscriber of the [hidden email] > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
In reply to this post by Erik Bruchez
Here is some info on isolationLevel and lockMode. The isolation level defines the level of visibility of intermediate states produced by other transations. Isolation level possible values . uncommittedDocument . committedCommand . stableCursor . stableDocument . serializable The isolation default depends on if the call is made in a session context or not. In a session context the default is stableDocument, not in a session context the default is uncommittedDocument. I guess from the code snippet you sent me that you use tamino in a session context and so the default is stableDocument. The lock mode alters the locking behavior specified by the isolation level, lock mode possible values . unprotected . shared . protected If not set the default is no alteration is made to the lock behavior. regards Doug Doug Young Software Engineer Teleflex IT 1 Michaelson Square Livingston West Lothian Scotland EH54 7DP +44 (0) 1506 407107 -----Original Message----- From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez Sent: 11 January 2006 15:38 To: [hidden email] Subject: Re: [ops-users] Tamino Processor Properties - default values ? Here is the code: if (isolationDegree != null) newConnection.setIsolationDegree(isolationDegree); if (lockMode != null) newConnection.setLockMode(lockMode); If the attributes are not specified, the methods are not called. -Erik Doug Young wrote: > When you say it does not the properties do you mean it does not call the > Tamino API functions at all or it supplies the parameters as empty/null ? > > regards > Doug > > Doug Young > Software Engineer > > Teleflex IT > 1 Michaelson Square > Livingston > West Lothian > Scotland > EH54 7DP > +44 (0) 1506 407107 > > -----Original Message----- > From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez > Sent: 11 January 2006 11:27 > To: [hidden email] > Subject: Re: [ops-users] Tamino Processor Properties - default values ? > > Doug, > > OPS does not set any of those properties on the Tamino connection if > they are not specified. I assume that some default is used in that case, > and that the Tamino documentation contains the answer. Please let us > know if you find out. > > -Erik > > Doug Young wrote: > >>Hi, >> >> I know the Tamino processor has the two properties >> >>oxf.tamino.isolation-degree >> >>and >> >>oxf.tamino.lock-mode >> >> >> >>which are set in the file properties.xml, but if I do not include >>settings for them in properties.xml what values are used ? >> >>I have checked the documentation but it does not say. >> >> >> >>regards >> >>Doug Young >> >> >> >>Doug Young >> >>Software Engineer >> >> >> >>Teleflex IT >> >>1 Michaelson Square >>Livingston >>West Lothian >>Scotland >>EH54 7DP >> >>+44 (0) 1506 407107 >> >> >> >> >>------------------------------------------------------------------------ >> >> >>-- >>You receive this message as a subscriber of the [hidden email] > > mailing list. > >>To unsubscribe: mailto:[hidden email] >>For general help: mailto:[hidden email]?subject=help >>ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > > > > > > > ------------------------------------------------------------------------ > > > -- > You receive this message as a subscriber of the [hidden email] > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Doug Young wrote:
Thanks for the feedback. > I guess from the code snippet you sent me that you use tamino in a session > context and so the default is stableDocument. We create Tamino connections with: TConnectionFactory.getInstance().newConnection(url, username, password); The connections is then shared and reused during the execution of a given pipeline. But I don't know if that means there is a "session context" or not. -Erik -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
In reply to this post by Doug Young
Hi Doug,
We have added the list of possible values for the isolation level and lock mode in the documentation. Is there a good online reference for this that you would recommend and that we could link to in addition to what we already have? http://www.orbeon.com/ops/doc/processors-xmldb#tamino-properties Alex On 1/11/06, Doug Young <[hidden email]> wrote: > > Here is some info on isolationLevel and lockMode. > > The isolation level defines the level of visibility of intermediate states > produced by other transations. > Isolation level possible values > . uncommittedDocument > . committedCommand > . stableCursor > . stableDocument > . serializable > The isolation default depends on if the call is made in a session context or > not. > In a session context the default is stableDocument, not in a session context > the default is uncommittedDocument. > I guess from the code snippet you sent me that you use tamino in a session > context and so the default is stableDocument. > > > The lock mode alters the locking behavior specified by the isolation level, > lock mode possible values > . unprotected > . shared > . protected > If not set the default is no alteration is made to the lock behavior. > > regards > Doug > > > Doug Young > Software Engineer > > Teleflex IT > 1 Michaelson Square > Livingston > West Lothian > Scotland > EH54 7DP > +44 (0) 1506 407107 > > -----Original Message----- > From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez > Sent: 11 January 2006 15:38 > To: [hidden email] > Subject: Re: [ops-users] Tamino Processor Properties - default values ? > > Here is the code: > > if (isolationDegree != null) > newConnection.setIsolationDegree(isolationDegree); > if (lockMode != null) > newConnection.setLockMode(lockMode); > > If the attributes are not specified, the methods are not called. > > -Erik > > Doug Young wrote: > > When you say it does not the properties do you mean it does not call the > > Tamino API functions at all or it supplies the parameters as empty/null ? > > > > regards > > Doug > > > > Doug Young > > Software Engineer > > > > Teleflex IT > > 1 Michaelson Square > > Livingston > > West Lothian > > Scotland > > EH54 7DP > > +44 (0) 1506 407107 > > > > -----Original Message----- > > From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez > > Sent: 11 January 2006 11:27 > > To: [hidden email] > > Subject: Re: [ops-users] Tamino Processor Properties - default values ? > > > > Doug, > > > > OPS does not set any of those properties on the Tamino connection if > > they are not specified. I assume that some default is used in that case, > > and that the Tamino documentation contains the answer. Please let us > > know if you find out. > > > > -Erik > > > > Doug Young wrote: > > > >>Hi, > >> > >> I know the Tamino processor has the two properties > >> > >>oxf.tamino.isolation-degree > >> > >>and > >> > >>oxf.tamino.lock-mode > >> > >> > >> > >>which are set in the file properties.xml, but if I do not include > >>settings for them in properties.xml what values are used ? > >> > >>I have checked the documentation but it does not say. > >> > >> > >> > >>regards > >> > >>Doug Young > >> > >> > >> > >>Doug Young > >> > >>Software Engineer > >> > >> > >> > >>Teleflex IT > >> > >>1 Michaelson Square > >>Livingston > >>West Lothian > >>Scotland > >>EH54 7DP > >> > >>+44 (0) 1506 407107 > >> > >> > >> > >> > >>------------------------------------------------------------------------ > >> > >> > >>-- > >>You receive this message as a subscriber of the [hidden email] > > > > mailing list. > > > >>To unsubscribe: mailto:[hidden email] > >>For general help: mailto:[hidden email]?subject=help > >>ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > -- > > You receive this message as a subscriber of the [hidden email] > mailing list. > > To unsubscribe: mailto:[hidden email] > > For general help: mailto:[hidden email]?subject=help > > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > > > > > > > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > > > -- Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Alex, the documantaion change looks good.
I have not found the tamino documentation online at an official Software AG site. The documentation ships with the product so I guess they don't want to share . I have found the documentation at http://portalclientes.consist.com.br/Portal_Arquivos/doc-eletronica/Tamino/I NO/ for tamino 4.2.1 but who knows how long it will be available. Erik, my reading of the documentation is that since you use the connection object you are running in "session context" but I'm not 100% sure the documentation isn't clear. We have just received the latest Tamino, V4.4. I will be trying it with OPS over the next few days -- fingers crossed ! regards Doug Doug Young Software Engineer Teleflex IT 1 Michaelson Square Livingston West Lothian Scotland EH54 7DP +44 (0) 1506 407107 -----Original Message----- From: [hidden email] [mailto:[hidden email]] On Behalf Of Alessandro Vernet Sent: 12 January 2006 02:33 To: [hidden email] Subject: Re: [ops-users] Tamino Processor Properties - default values ? Hi Doug, We have added the list of possible values for the isolation level and lock mode in the documentation. Is there a good online reference for this that you would recommend and that we could link to in addition to what we already have? http://www.orbeon.com/ops/doc/processors-xmldb#tamino-properties Alex On 1/11/06, Doug Young <[hidden email]> wrote: > > Here is some info on isolationLevel and lockMode. > > The isolation level defines the level of visibility of intermediate states > produced by other transations. > Isolation level possible values > . uncommittedDocument > . committedCommand > . stableCursor > . stableDocument > . serializable > The isolation default depends on if the call is made in a session context > not. > In a session context the default is stableDocument, not in a session > the default is uncommittedDocument. > I guess from the code snippet you sent me that you use tamino in a session > context and so the default is stableDocument. > > > The lock mode alters the locking behavior specified by the isolation level, > lock mode possible values > . unprotected > . shared > . protected > If not set the default is no alteration is made to the lock behavior. > > regards > Doug > > > Doug Young > Software Engineer > > Teleflex IT > 1 Michaelson Square > Livingston > West Lothian > Scotland > EH54 7DP > +44 (0) 1506 407107 > > -----Original Message----- > From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez > Sent: 11 January 2006 15:38 > To: [hidden email] > Subject: Re: [ops-users] Tamino Processor Properties - default values ? > > Here is the code: > > if (isolationDegree != null) > newConnection.setIsolationDegree(isolationDegree); > if (lockMode != null) > newConnection.setLockMode(lockMode); > > If the attributes are not specified, the methods are not called. > > -Erik > > Doug Young wrote: > > When you say it does not the properties do you mean it does not call the > > Tamino API functions at all or it supplies the parameters as empty/null > > > > regards > > Doug > > > > Doug Young > > Software Engineer > > > > Teleflex IT > > 1 Michaelson Square > > Livingston > > West Lothian > > Scotland > > EH54 7DP > > +44 (0) 1506 407107 > > > > -----Original Message----- > > From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez > > Sent: 11 January 2006 11:27 > > To: [hidden email] > > Subject: Re: [ops-users] Tamino Processor Properties - default values ? > > > > Doug, > > > > OPS does not set any of those properties on the Tamino connection if > > they are not specified. I assume that some default is used in that case, > > and that the Tamino documentation contains the answer. Please let us > > know if you find out. > > > > -Erik > > > > Doug Young wrote: > > > >>Hi, > >> > >> I know the Tamino processor has the two properties > >> > >>oxf.tamino.isolation-degree > >> > >>and > >> > >>oxf.tamino.lock-mode > >> > >> > >> > >>which are set in the file properties.xml, but if I do not include > >>settings for them in properties.xml what values are used ? > >> > >>I have checked the documentation but it does not say. > >> > >> > >> > >>regards > >> > >>Doug Young > >> > >> > >> > >>Doug Young > >> > >>Software Engineer > >> > >> > >> > >>Teleflex IT > >> > >>1 Michaelson Square > >>Livingston > >>West Lothian > >>Scotland > >>EH54 7DP > >> > >>+44 (0) 1506 407107 > >> > >> > >> > >> > >>------------------------------------------------------------------------ > >> > >> > >>-- > >>You receive this message as a subscriber of the [hidden email] > > > > mailing list. > > > >>To unsubscribe: mailto:[hidden email] > >>For general help: mailto:[hidden email]?subject=help > >>ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > -- > > You receive this message as a subscriber of the [hidden email] > mailing list. > > To unsubscribe: mailto:[hidden email] > > For general help: mailto:[hidden email]?subject=help > > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > > > > > > > > > -- > You receive this message as a subscriber of the [hidden email] > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > > > -- Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
On 1/12/06, Doug Young <[hidden email]> wrote:
> I have found the documentation at > http://portalclientes.consist.com.br/Portal_Arquivos/doc-eletronica/Tamino/I > NO/ for tamino 4.2.1 but who knows how long it will be available. OK, thank you Doug - so there will be no link to the Tamino documentation. Alex -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Free forum by Nabble | Edit this page |