首页 \ 问答 \ 当Eclipse添加到项目中时,Eclipse是否会对jar进行二进制兼容性检查?(Does Eclipse do a binary-compatibility-check of jars as they are added to a project?)

当Eclipse添加到项目中时,Eclipse是否会对jar进行二进制兼容性检查?(Does Eclipse do a binary-compatibility-check of jars as they are added to a project?)

当我赞美Maven的依赖管理时,一位Eclipse用户告诉我(一个IntelliJ用户)他们不需要这样的东西,因为任何时候他们都会将一个jar添加到项目中Eclipse会测试它与其他jar的二进制兼容性项目。

这是真的? 这个Eclipse本身还是插件?
IntelliJ / Netbeans中是否有类似的功能?

谢谢。


While I was singing the praises of Maven's dependency management, an Eclipse user told me (an IntelliJ user) they don't need stuff like that because any time they add a jar to a project Eclipse will test it's binary compatibility against other jars in the project.

Is this true? Is this Eclipse itself or a plugin?
Is there similar functionality available in IntelliJ/Netbeans?

Thanks.


原文:https://stackoverflow.com/questions/3552175
更新时间:2023-08-14 21:08

最满意答案

创建一个您订购它们的列,然后在order by子句中使用它,
像这样的东西:

SELECT R.ID, R.DESCRIZIONE,
Case
when R.FileStateID = 200 then 1,
when R.FileStateID = 140 then 2, 
when R.FileStateID = 5   then 3,
when R.FileStateID = 160 then 4 
ELSE 0 END AS order_
FROM AA_V_ATS_RICHIESTE R
ORDER BY order_

Create a column where you order them and then use it in the order by clause,
something like this :

SELECT R.ID, R.DESCRIZIONE,
Case
when R.FileStateID = 200 then 1,
when R.FileStateID = 140 then 2, 
when R.FileStateID = 5   then 3,
when R.FileStateID = 160 then 4 
ELSE 0 END AS order_
FROM AA_V_ATS_RICHIESTE R
ORDER BY order_

相关问答

更多
  • 在SQL Server 2012+中,您可以使用lag() ,如下所示: SELECT i.* FROM (SELECT i.room_number, order_number, Occupancy , ROW_NUMER() OVER (PARTITION BY room_number ORDER BY Inspection_date DESC) as seqnum, LAG(Occupancy) OVER (PARTITION BY room_numb ...
  • 尝试这个: declare @input XML = ' 1 8 1 test 1 2
  • declare @highDate date = '2011-09-20' select * from ( select *, dense_rank() over (order by cast(created_date as date) desc) rnk from News where CREATED_DATE <= @highDate ) as t where t.rnk <= 5 declare @highDate date = '2011-09-2 ...
  • 为什么在IN子句中有值时可以使用UNION? 你正在扫描桌子三次。 Select Div as Division ,Room as RoomLocation ,Form as Forms ,Nums as TotalNumberLocations From AView Where Id = '1' And Div IN ('A','G','R') Group By Div, Nums, Room, Form Order By Forms asc, TotalNumber ...
  • --UPDATE-- 感谢您的评论,我一直在GROUP BY之后放置WHERE,它一直给我一个错误。 SELECT Employee.[First Name] + ' ' + Employee.[Last Name] AS 'Name', sum(Time.[Total Hours]) AS 'Total Hours' , FORMAT(Time.[Time in], 'd', 'en-gb') AS 'Worked On' FROM Employee inner join Time on Em ...
  • 对于SQL Server 2012+: 您可以使用LAG功能。 这是一个找到之前收到的值的例子,当然其他的将是相同的。 SELECT TOP 5 ReceivedYTD, InvoicedYTD, OrderedYTD, YearReported, WeekReported, -- Relevant part LAG(ReceivedYTD) ...
  • 创建一个您订购它们的列,然后在order by子句中使用它, 像这样的东西: SELECT R.ID, R.DESCRIZIONE, Case when R.FileStateID = 200 then 1, when R.FileStateID = 140 then 2, when R.FileStateID = 5 then 3, when R.FileStateID = 160 then 4 ELSE 0 END AS order_ FROM AA_V_ATS_RICHIESTE R ORDE ...
  • 在这种情况下: SELECT ROW_NUMBER() over(Partition By Year(OrderDate) order by OrderDate) as RowN,* FROM [Northwind].[dbo].[Orders] order by RowN 你所看到的是它给你一个按年划分的行号,这意味着每年都有它自己的爬行号 。 为了使结果更清楚: SELECT ROW_NUMBER() over(Partition By Year(OrderDate) order by O ...
  • 如果要选择具有记录数的所有四列(id,col1,col2,col3),则必须从分组记录中选择一个ID。 例如,您可以选择Min(Id) / Max(Id) ,如下所示; select count(*) counter, min(id) id, col1, col2, col3 from t group by col1,col2,col3 SQL FIDDLE示例 | COUNTER | ID | COL1 | COL2 | COL3 | --------------------- ...
  • 像这样的东西: SELECT COUNT(*) FROM AA_V_ATS_Richieste R WHERE R.IdTipoRichiesta = 1 AND (R.DataInizio >= @DATA_INIZIO OR @DATA_INIZIO IS NULL) AND (R.DataFine <= @DATA_FINE OR @DATA_FINE IS NULL) Something like this: SELECT COUNT(*) FROM AA_V_ATS_Ri ...

相关文章

更多

最新问答

更多
  • 您如何使用git diff文件,并将其应用于同一存储库的副本的本地分支?(How do you take a git diff file, and apply it to a local branch that is a copy of the same repository?)
  • 将长浮点值剪切为2个小数点并复制到字符数组(Cut Long Float Value to 2 decimal points and copy to Character Array)
  • OctoberCMS侧边栏不呈现(OctoberCMS Sidebar not rendering)
  • 页面加载后对象是否有资格进行垃圾回收?(Are objects eligible for garbage collection after the page loads?)
  • codeigniter中的语言不能按预期工作(language in codeigniter doesn' t work as expected)
  • 在计算机拍照在哪里进入
  • 使用cin.get()从c ++中的输入流中丢弃不需要的字符(Using cin.get() to discard unwanted characters from the input stream in c++)
  • No for循环将在for循环中运行。(No for loop will run inside for loop. Testing for primes)
  • 单页应用程序:页面重新加载(Single Page Application: page reload)
  • 在循环中选择具有相似模式的列名称(Selecting Column Name With Similar Pattern in a Loop)
  • System.StackOverflow错误(System.StackOverflow error)
  • KnockoutJS未在嵌套模板上应用beforeRemove和afterAdd(KnockoutJS not applying beforeRemove and afterAdd on nested templates)
  • 散列包括方法和/或嵌套属性(Hash include methods and/or nested attributes)
  • android - 如何避免使用Samsung RFS文件系统延迟/冻结?(android - how to avoid lag/freezes with Samsung RFS filesystem?)
  • TensorFlow:基于索引列表创建新张量(TensorFlow: Create a new tensor based on list of indices)
  • 企业安全培训的各项内容
  • 错误:RPC失败;(error: RPC failed; curl transfer closed with outstanding read data remaining)
  • C#类名中允许哪些字符?(What characters are allowed in C# class name?)
  • NumPy:将int64值存储在np.array中并使用dtype float64并将其转换回整数是否安全?(NumPy: Is it safe to store an int64 value in an np.array with dtype float64 and later convert it back to integer?)
  • 注销后如何隐藏导航portlet?(How to hide navigation portlet after logout?)
  • 将多个行和可变行移动到列(moving multiple and variable rows to columns)
  • 提交表单时忽略基础href,而不使用Javascript(ignore base href when submitting form, without using Javascript)
  • 对setOnInfoWindowClickListener的意图(Intent on setOnInfoWindowClickListener)
  • Angular $资源不会改变方法(Angular $resource doesn't change method)
  • 在Angular 5中不是一个函数(is not a function in Angular 5)
  • 如何配置Composite C1以将.m和桌面作为同一站点提供服务(How to configure Composite C1 to serve .m and desktop as the same site)
  • 不适用:悬停在悬停时:在元素之前[复制](Don't apply :hover when hovering on :before element [duplicate])
  • 常见的python rpc和cli接口(Common python rpc and cli interface)
  • Mysql DB单个字段匹配多个其他字段(Mysql DB single field matching to multiple other fields)
  • 产品页面上的Magento Up出售对齐问题(Magento Up sell alignment issue on the products page)