|
From: Bruce M. <br...@mc...> - 2003-07-07 01:37:46
|
Looks good to me Stefan but I haven't used the sql journal in ages.
On Sunday 06 July 2003 12:19 pm, Stefan Krieger wrote:
> Folks,
>
> I needed to change "forkTicket" in sql.journal.GenericSqlJournal to make
> forking actually working.
> Without this change an unusable text is stored in the OTHER_DATA column.
> Does anyone expect any sideeffects ?
>
> Regards,
> Stefan
>
> public synchronized IJournalTicket forkTicket(IJournalTicket
> parentTicket) throws JournalException {
> try {
> //getLog().debug("[GenericSqlJournal.forkTicket] called");
> Connection con = (Connection) resource.checkOut();
> long nextVal = TableKeyHelper.getNextId(con, "LOG").longValue();
> resource.checkIn(con);
>
> IJournalTicket ticket = new JournalTicket(nextVal);
>
> // Log the operation
> // PATCH: use getId() instead of toString() to track the parentId in
> the Database
> log(ticket, JournalOperation.forkTicket, parentTicket.getId(), null,
> null);
> //log(ticket, JournalOperation.forkTicket, parentTicket.toString, null,
> null);
>
> return ticket;
> } catch (Exception iox) {
> throw new JournalException("[GenericSqlJournal.forkTicket]", iox);
> }
> }
>
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
> http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
> _______________________________________________
> Babeldoc-devel mailing list
> Bab...@li...
> https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
|