A new topic, 'maxValue in createSequence', has been made on a board you are 
watching.

You can see it at
http://liquibase.org/forum/index.php?topic=29.new#new

The text of the topic is shown below:

To create a sequence we use the createSequence element.
The attribute maxValue gives an error if the number of digits is 11 or more.

For example:
    <createSequence sequenceName='MY_SEQUENCE' incrementBy='1' minValue='1' 
maxValue='12345678901' />

The value for maxValue is just a dummy value to easily count the number of 
digits  ;)

Gives this error:

28-mei-2009 9:41:23 liquibase.parser.xml.XMLChangeLogHandler startElement
SEVERE: Error thrown as a SAXException: For input string: "12345678901"
java.lang.NumberFormatException: For input string: "12345678901"
   at java.lang.NumberFormatException.forInputString(Unknown Source)
   at java.lang.Integer.parseInt(Unknown Source)
   at java.lang.Integer.valueOf(Unknown Source)
   at liquibase.util.ObjectUtil.setProperty(ObjectUtil.java:33)
   at 
liquibase.parser.xml.XMLChangeLogHandler.setProperty(XMLChangeLogHandler.java:350)
   at 
liquibase.parser.xml.XMLChangeLogHandler.startElement(XMLChangeLogHandler.java:227)
   at 
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown
 Source)
   at 
com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
 Source)
   at 
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.emptyElement(Unknown
 Source)
   at 
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
 Source)
   at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown
 Source)
   at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown 
Source)
   at 
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown 
Source)
   at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
 Source)
   at 
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown 
Source)
   at 
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown 
Source)
   at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
   at 
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown 
Source)
   at 
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
 Source)
   at liquibase.parser.xml.XMLChangeLogParser.parse(XMLChangeLogParser.java:70)
   at liquibase.parser.ChangeLogParser.parse(ChangeLogParser.java:28)
   at 
liquibase.parser.xml.XMLChangeLogHandler.handleIncludedChangeLog(XMLChangeLogHandler.java:318)
   at 
liquibase.parser.xml.XMLChangeLogHandler.startElement(XMLChangeLogHandler.java:120)
   at 
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown
 Source)
   at 
com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
 Source)
   at 
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.emptyElement(Unknown
 Source)
   at 
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
 Source)
   at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown
 Source)
   at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown 
Source)
   at 
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown 
Source)
   at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
 Source)
   at 
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown 
Source)
   at 
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown 
Source)
   at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
   at 
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown 
Source)
   at 
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
 Source)
   at liquibase.parser.xml.XMLChangeLogParser.parse(XMLChangeLogParser.java:70)
   at liquibase.parser.ChangeLogParser.parse(ChangeLogParser.java:28)
   at liquibase.Liquibase.update(Liquibase.java:105)
   at liquibase.commandline.Main.doMigration(Main.java:650)
   at liquibase.commandline.Main.main(Main.java:97)

Any ideas ?

I'm using liquibase 1.9.3.

Unsubscribe to new topics from this board by clicking here: 
http://liquibase.org/forum/index.php?action=notifyboard;board=1.0

Regards,
The LiquiBase Community Forum Team.
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Liquibase-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/liquibase-user

Reply via email to