Dbeaver Importing Templates Not Working for Enterprise Edition #19527
Answered
by
siracdemir
siracdemir
asked this question in
Q&A
Replies: 3 comments
-
Hello @siracdemir Please create a ticket on our tech support for the Enterprise users: https://dbeaver.com/signin/ |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi,
I found the problem.
When you export file from community edition the name of context is :
context="sql_sqlserver_microsoft"
You need to rename context to sql_sqlserver-ee_microsoft
As an example:
If you import file to community edition, the xml should look like this:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<templates>
<template autoinsert="true" context="sql_sqlserver_microsoft" deleted="false" description="" enabled="true" name="sfrom">select * from dbo.${table}</template>
</templates>
If you import file to enterprise edition, the xml should look like this:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<templates>
<template autoinsert="true" context="sql_sqlserver-ee_microsoft" deleted="false" description="" enabled="true" name="sfrom">select * from dbo.${table}</template>
</templates>
…On Thu, Mar 30, 2023, 21:01 Anastasiya ***@***.***> wrote:
Hello @siracdemir <https://github.com/siracdemir>
Please create a ticket on our tech support for the Enterprise users:
https://dbeaver.com/signin/
—
Reply to this email directly, view it on GitHub
<#19527 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALZAKHOYRRULSG3TVVVCMXDW6XDALANCNFSM6AAAAAAWLRZG4M>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
siracdemir
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I was using Dbeaver community.
Recentyl, I have been using Enterprise Edition.
I exported templates from Dbeaver comminity.
I have imported that exported template to Enterprise Edition, but nothing appears.
Almost all of my template snippets are SQL and SQL Server context.
Please , you can see a very simple exported template below(templates_2023-03-29.zip)
Note: my Dbeaver community version: 23.0.0.202303040621
Enterprise Edition version: 23.0.0.202303131136
templates_2023-03-29.zip
Beta Was this translation helpful? Give feedback.
All reactions