Quantcast
Channel: Liquibase Forums
Browsing all 2993 articles
Browse latest View live

Re : Liquibase Hibernate and composite-id

Just to follow-up on this and if someone get this kind of problem, a workaround is to use composite-element as explained here. Doing so is supported by the extension and creates the right table/keys.

View Article


DefaultLogger: changeSetName, etc. never used?

Curious about this: https://github.com/liquibase/liquibase/blob/master/liquibase-core/src/main/java/liquibase/logging/core/DefaultLogger.java#L79After a List<String> is built up carefully to...

View Article


Image may be NSFW.
Clik here to view.

Re : Changes made by liquibase CLI are not recognized by liquibase maven...

Thank you Nathan,I checked, the file paths are different from when I updated with CLI liquibase and mvn liquibase plugin and that's why things were messed up. But I just think it would be nicer, more...

View Article

Re : Changes made by liquibase CLI are not recognized by liquibase maven...

I'll take a look at the faq and see what I can do. Thanks for pointing it out.You are right that the formatted sql doesn't support logicalFilePath. I created https://liquibase.jira.com/browse/CORE-1654...

View Article

Re : Using Liquibase to generate SQL file only

To avoid the inserts into databasechangelog you'll have to also use the https://github.com/liquibase/liquibase-nochangelogupdate extension.Nathan

View Article


Re : Using Liquibase to generate SQL file only

I created https://liquibase.jira.com/browse/CORE-1656 for the updateSql without a live connection support. I'll see if I can look at it with 3.1 but it is getting to be a full release already, it may...

View Article

Re : JSON XML

Thanks for the thorough explanation. What you say makes complete sense to me - you started with XML, so it's going to be the more mature and encumbered of the formats.I am not a big fan of XML in...

View Article

Re : JSON XML

Okay...that was me above.

View Article


Re : JSON XML

I agree that the JSON/YAML format could be a bit less verbose. That's what happens when you still try to be fairly similar to XML :)  I may create a tighter DSL style format at some point as well....

View Article


Re : JSON XML

It does give me comfort knowing that I could translate using the Object Model and the parser/serializer classes.I am currently mixing and matching my formats using the <include> tag.Sorry for the...

View Article

Re : Using Liquibase to generate SQL file only

Please let me know if there's anything I can do to help make this into 3.1 - it's really important for me, but I understand that there's lot to do :)

View Article

includeAll relativeToChangelogFile generates absolute path

Hi, will setting up a project to use liquibase I ran into the following problem.   Assuming I have the following folder structure: c:/dev/build.xml           /database/master.xml...

View Article

Re : CustomSqlChange: how access database metadata ?

Thanks, I tried this but tyhe problem is I d'ont know the table column list neither the catalog and schema names.

View Article


Re : CustomSqlChange: how access database metadata ?

And if I create a table snaphost with only the table name, it doesn't match and all I get is a null reference.

View Article

Re : CustomSqlChange: how access database metadata ?

I tried something else:   public static Collection<UniqueConstraint> getUniqueConstraints(Database database, Table table) throws DatabaseException,            InvalidExampleException {...

View Article


Inserting a CLOB

I need to insert a CLOB in a table.Base on the Forum information    <changeSet id="MyChangeSet" author="Me" context="ALL"> <comment>Create a new record for a CLOB</comment>...

View Article

Re : Inserting a CLOB

I think the problem is that the column type is CLOB (Character Large Object) but you are typing to store an image. If you want to store an image, use BLOB (Binary Large Object).

View Article


Re : JSON XML

Good point, that is a problem with JSON in general that I hadn't really thought of.  For multiline sql you can use the sqlFile tag even in JSON, but it is a pain.Nathan

View Article

Re : Avoid bracket generation

The generated SQL is correct, it just makes it harder to do fixups with ModifySql. We need the modify because CreateIndex doesn't support asc/desc on columns.The real solution is of course to support...

View Article

PreConditions not working with outputfile

Hi, we have following problem. When using preConditions either on ChangeLog or changeSet level everything runs as expected when update is run directly on the database. When generating an upgrade script...

View Article
Browsing all 2993 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>